>> FWIW, I usually solve that problem by making your "$frame" a wxPanel
this is complete solution!
my $bigbutton = Wx::Button->new( $frame, 1, 'Вып

+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, 'Пре
+;дпочитаемm
+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 |