[wx-dev] [gtk] initial dialog layout broken

Paul Cornett pc-wx at bullseye.com
Sat Apr 7 23:14:19 PDT 2007


Vadim Zeitlin wrote:
>  Hi (Robert),
> 
>  Something seems to be seriously broken in wxGTK after the recent
> changes. The simplest way to see it is to replace MyFrame::OnAbout()
> in the minimal sample with
> 
> 	wxGetTextFromUser(_T("Enter the command: "));
> 
> Now run the sample and press F1: the dialog is shown but seems to be
> empty. In fact it isn't, but all child windows are positioned at (-1,
> -1) and have the size of (1, 1). More interestingly, in the exec
> sample (where I noticed it for the first) time you can press Ctrl-E
> (which shows wxGetTextFromUser() dialog too) and it works the first
> time but not any of the subsequent ones. I'm quite lost in debugging
> this, things seem to be going well and gtk_widget_queue_resize() is
> called from gtk_pizza_set_size() and then I have the impression that
> nothing changes.
> 
>  Thanks in advance for any help with this,

The handling of size_allocate in win_gtk.c got broken. Should be fixed
now.




More information about the wx-dev mailing list