X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..a685a06c96085e01d0b38432eac2ec0b887c2dcb:/src/gtk1/minifram.cpp?ds=sidebyside diff --git a/src/gtk1/minifram.cpp b/src/gtk1/minifram.cpp index 916328b6a5..738123f286 100644 --- a/src/gtk1/minifram.cpp +++ b/src/gtk1/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