in reply to Re^2: wxPerl behavior on Win32
in thread wxPerl behavior on Win32

it wasn't pleasant to me that near widgets a background light, and primary color of a frame - dark

and so was only under windows

FWIW, I usually solve that problem by making your "$frame" a wxPanel

The background ends up being the usual panel light grey of wxSYS_COLOUR_MENU /
#D4D0C8
instead of the darker frame/MDI "grey" of wxSYS_COLOUR_APPWORKSPACE
#D4D0C8

Replies are listed 'Best First'.
Re^4: wxPerl behavior on Win32
by solomon243 (Novice) on Oct 29, 2014 at 20:09 UTC
    >> FWIW, I usually solve that problem by making your "$frame" a wxPanel


    this is complete solution!
    my $bigbutton = Wx::Button->new( $frame, 1, 'Вып&#10 +86;лнить расч&# +1077;т', [-1,-1], [-1,-1]); my $mass_label = Wx::StaticText->new($frame, 2, 'Ваш + вес:',[-1,-1], [-1,-1]); my $drink_label = Wx::StaticText->new($frame, 4, 'Пр&#1077 +;дпочитаем&#109 +9;й напиток:',[-1,-1] +, [-1,-1]); my $mass_entry = Wx::TextCtrl->new($frame, 3, '',[-1,-1], [-1,-1]);

    no wxPanel needed! Now my code works equally on all platforms! THX, Anonymous Monk