X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef43e62e77f166157029b852d0ac197fc0fba135..f7a50432401c62a3300b0b9faa7e99d7ffe3d4e8:/src/gtk/choice.cpp diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index a7f05f679a..02b6c41b2a 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -133,7 +133,7 @@ bool wxChoice::Create( wxWindow *parent, wxWindowID id, m_parent->DoAddChild( this ); PostCreation(size); - SetBestSize(size); // need this too because this is a wxControlWithItems + SetInitialSize(size); // need this too because this is a wxControlWithItems return true; } @@ -599,7 +599,7 @@ wxSize wxChoice::DoGetBestSize() const return ret; } -bool wxChoice::IsOwnGtkWindow( GdkWindow *window ) +GdkWindow *wxChoice::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const { return GTK_BUTTON(m_widget)->event_window; }