X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/186baeb23726399569b1b2c972b36a3aecefa10e..13588544c5fd50e15240c30b0d0e0b533ffe7d1a:/src/gtk/frame.cpp diff --git a/src/gtk/frame.cpp b/src/gtk/frame.cpp index c20496ef80..13d018c53b 100644 --- a/src/gtk/frame.cpp +++ b/src/gtk/frame.cpp @@ -126,6 +126,7 @@ static void gtk_frame_size_callback( GtkWidget *WXUNUSED(widget), GtkAllocation* win->m_width = alloc->width; win->m_height = alloc->height; + win->m_queuedFullRedraw = TRUE; win->GtkUpdateSize(); } } @@ -402,7 +403,7 @@ void wxFrame::Init() m_menuBarDetached = FALSE; m_toolBarDetached = FALSE; m_insertInClientArea = TRUE; - m_isFrame = TRUE; + m_isFrame = FALSE; } bool wxFrame::Create( wxWindow *parent, @@ -416,6 +417,7 @@ bool wxFrame::Create( wxWindow *parent, wxTopLevelWindows.Append( this ); m_needParent = FALSE; + m_isFrame = TRUE; if (!PreCreation( parent, pos, size ) || !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))