]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/minifram.cpp
Preserve original menu label for later retrieval
[wxWidgets.git] / src / gtk1 / minifram.cpp
index c60a64cb353fe6df21334e488bb51e4b70f7d3b6..a7803836b3e9ddb6b1ae03a36e7d4c9c40597a7b 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
-#include "wx/minifram.h"
-
 #if wxUSE_MINIFRAME
 
-#include "wx/dcscreen.h"
+#include "wx/minifram.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/dcscreen.h"
+#endif
 
 #include "gtk/gtk.h"
 #include "wx/gtk1/win_gtk.h"
@@ -219,7 +221,7 @@ static gint gtk_window_button_release_callback( GtkWidget *widget, GdkEventButto
 
     if (!win->m_isDragging) return TRUE;
 
-    win->m_isDragging = FALSE;
+    win->m_isDragging = false;
 
     int x = (int)gdk_event->x;
     int y = (int)gdk_event->y;
@@ -400,4 +402,4 @@ void wxMiniFrame::SetTitle( const wxString &title )
     gtk_widget_draw( m_mainWidget, (GdkRectangle*) NULL );
 }
 
-#endif
+#endif // wxUSE_MINIFRAME