newbie: wxFrame ignoring size

Pier Paolo cvrecnbyb.ovntv at gvfpnyv.vg
Wed Nov 1 09:58:14 PST 2006


Hi all,
I'm starting to use wxWidgets.
I have a problem with wxFrame default constructor (I think).

I'm using wx 2.6.3 under Linux/GTK
The program is basically the "minimal" example.


MyFrame *frame = new MyFrame("Hello World", wxPoint(50,50), wxSize(800,600) );

I can pass to it any value for size, it will be always the same size

xwininfo reports this info for the window
xwininfo: Window id: 0x3600055 "Hello World"

  Absolute upper-left X:  55
  Absolute upper-left Y:  75
  Relative upper-left X:  5
  Relative upper-left Y:  25
  Width: 85
  Height: 82

Have you any idea?


Thank you.

Regards,
Pier Paolo






More information about the wx-users mailing list