]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/minifram.cpp
I admit I have no good solution for wxPrinter::Setup(wxWindow*)
[wxWidgets.git] / src / gtk / minifram.cpp
index 916328b6a55732ee01609b6e65df1faf18119ea7..738123f28693e6de413e7ed370ac100aaa02d7e1 100644 (file)
@@ -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