in reply to wxPerl - Removing title bar buttons from dialog box doesn't work in Kubuntu 9.10

Which version of wxPerl/wxWidgets?
$ perl -MWx -le"print for Wx->VERSION, Wx->wxVERSION_STRING" 0.96 wxWidgets 2.8.10
What does warn $style; print? I get 536870912.

Try

If the c++ version exibits the same behaviour, the bug might either 1) be a real wxWidgets bug 2) be a limitation of wxWidgets on kde...

Replies are listed 'Best First'.
Re^2: wxPerl - Removing title bar buttons from dialog box doesn't work in Kubuntu 9.10
by Steve_BZ (Chaplain) on Mar 19, 2010 at 11:58 UTC

    Hi Anon,

    Thanks for all of that. Here are the answers:

    steve@steve-desktop:~$ perl -MWx -le"print for Wx->VERSION, Wx->wxVERS +ION_STRING" 0.91 wxWidgets 2.8.9

    I was *so* impressed by your next idea,

    $style = wxCAPTION() &~( wxMINIMIZE_BOX() | wxMAXIMIZE_BOX() | wxRES +IZE_BORDER() )

    Sadly it didn't work.

    Nor did use base qw(Wx::Frame);

    I also get 536870912.

    Even the totally blank dialog, which works on Windows doesn't work on Kubuntu.

    Thanks for the ideas, any others would be welcome.

    Regards

    Steve

      Thanks for the ideas, any others would be welcome.

      How about you try the real important one ie the c++ version? I doubt its wxperl specific.

        Hi Anon,

        I guess too that the c-code won't be Perl-specific, the problem is that I am! I tried to get a simple screen display with Code::Blocks, but no joy. It's just too long since I had to deal with a compiler error!

        Anyhow, I've stumbled through the wxPython equivalent, which gives me the same problem, so I guess it's a wxWidgets core problem. Even a totally blank window with no title-bar doesn't work, and it inserts a title-bar. I'll log it on their site.

        Thanks for all your help.

        Regards

        Steve