projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
define ATTRIBUTE_PRINTF(m,n) and not just ATTRIBUTE_PRINTF as nothing when the compil...
[wxWidgets.git]
/
src
/
gtk1
/
cursor.cpp
diff --git
a/src/gtk1/cursor.cpp
b/src/gtk1/cursor.cpp
index 70a3e24583d896b37d66be2bb4508f64c15b4bdb..bd1e6ca2bd6535d3f8820d88c665900fc46870e7 100644
(file)
--- a/
src/gtk1/cursor.cpp
+++ b/
src/gtk1/cursor.cpp
@@
-1,5
+1,5
@@
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
-// Name: cursor.cpp
+// Name:
src/gtk1/
cursor.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id$
// Purpose:
// Author: Robert Roebling
// Id: $Id$
@@
-11,8
+11,11
@@
#include "wx/wxprec.h"
#include "wx/cursor.h"
#include "wx/wxprec.h"
#include "wx/cursor.h"
-#include "wx/utils.h"
-#include "wx/app.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/app.h"
+ #include "wx/utils.h"
+#endif // WX_PRECOMP
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
@@
-33,7
+36,7
@@
class wxCursorRefData: public wxObjectRefData
public:
wxCursorRefData();
public:
wxCursorRefData();
- ~wxCursorRefData();
+
virtual
~wxCursorRefData();
GdkCursor *m_cursor;
};
GdkCursor *m_cursor;
};
@@
-313,17
+316,7
@@
wxCursor::~wxCursor()
{
}
{
}
-bool wxCursor::operator == ( const wxCursor& cursor ) const
-{
- return m_refData == cursor.m_refData;
-}
-
-bool wxCursor::operator != ( const wxCursor& cursor ) const
-{
- return m_refData != cursor.m_refData;
-}
-
-bool wxCursor::Ok() const
+bool wxCursor::IsOk() const
{
return (m_refData != NULL);
}
{
return (m_refData != NULL);
}