Include wx/cursor.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -14,10 +14,9 @@
|
||||
#include "wx/object.h"
|
||||
#include "wx/window.h"
|
||||
#include "wx/dc.h"
|
||||
#include "wx/cursor.h"
|
||||
#endif
|
||||
|
||||
#include "wx/cursor.h"
|
||||
|
||||
/* Current cursor, in order to hang on to
|
||||
* cursor handle when setting the cursor globally */
|
||||
wxCursor g_globalCursor;
|
||||
|
||||
@@ -15,9 +15,9 @@
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/app.h"
|
||||
#include "wx/frame.h"
|
||||
#include "wx/cursor.h"
|
||||
#endif // WX_PRECOMP
|
||||
|
||||
#include "wx/cursor.h"
|
||||
#include "wx/evtloop.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
@@ -17,10 +17,9 @@
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/app.h"
|
||||
#include "wx/frame.h"
|
||||
#include "wx/cursor.h"
|
||||
#endif // WX_PRECOMP
|
||||
|
||||
#include "wx/cursor.h"
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
@@ -221,7 +220,7 @@ bool wxPopupWindow::Create( wxWindow *parent, int style )
|
||||
gtk_signal_connect (GTK_OBJECT(m_widget), "button_press_event",
|
||||
GTK_SIGNAL_FUNC(gtk_popup_button_press), (gpointer)this );
|
||||
|
||||
return TRUE;
|
||||
return true;
|
||||
}
|
||||
|
||||
void wxPopupWindow::DoMoveWindow(int WXUNUSED(x), int WXUNUSED(y), int WXUNUSED(width), int WXUNUSED(height) )
|
||||
|
||||
Reference in New Issue
Block a user