X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..d6c69b17723c42d5114a464027fa307cabc66190:/src/gtk/minifram.cpp diff --git a/src/gtk/minifram.cpp b/src/gtk/minifram.cpp index 916328b6a5..738123f286 100644 --- a/src/gtk/minifram.cpp +++ b/src/gtk/minifram.cpp @@ -389,4 +389,15 @@ bool wxMiniFrame::Create( wxWindow *parent, wxWindowID id, const wxString &title return TRUE; } +void wxMiniFrame::SetTitle( const wxString &title ) +{ + wxFrame::SetTitle( title ); + +#ifdef __WXGTK20__ + gdk_window_invalidate_rect( GTK_PIZZA(m_mainWidget)->bin_window, NULL, true ); +#else + gtk_widget_draw( m_mainWidget, (GdkRectangle*) NULL ); +#endif +} + #endif