]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/toplevel.cpp
CodeWarrior has been discontinued on Mac for years, and none of the (manually maintai...
[wxWidgets.git] / src / gtk / toplevel.cpp
index 5d04f3bcb37fd77dee9624a83076363587addcf1..a8a2b2bba13b38ef370e48cd78a9a2aa9e081f74 100644 (file)
@@ -777,6 +777,14 @@ bool wxTopLevelWindowGTK::ShowFullScreen(bool show, long)
 // overridden wxWindow methods
 // ----------------------------------------------------------------------------
 
+void wxTopLevelWindowGTK::Refresh( bool WXUNUSED(eraseBackground), const wxRect *WXUNUSED(rect) )
+{
+    wxCHECK_RET( m_widget, wxT("invalid frame") );
+    
+   gtk_widget_queue_draw( m_widget );
+   gdk_window_invalidate_rect( m_wxwindow->window, NULL, TRUE );
+}
+
 bool wxTopLevelWindowGTK::Show( bool show )
 {
     wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );