]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/gizmos/ledctrl.h
Don't set insertion point if the text is the same in SetValue
[wxWidgets.git] / contrib / include / wx / gizmos / ledctrl.h
index 19b3cffbf5386ac73281cb27b063cef7ad70b94c..a46cf53c1062aace61c1f44018963612f3b8aaa6 100644 (file)
@@ -1,16 +1,11 @@
 #ifndef _WX_LEDNUMBERCTRL_H_
 #define _WX_LEDNUMBERCTRL_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "wxLEDNumberCtrl.h"
 #endif
 
-#ifdef GIZMOISDLL
-#define GIZMODLLEXPORT WXDLLEXPORT
-#else
-#define GIZMODLLEXPORT
-#endif
-
+#include "wx/gizmos/gizmos.h"
 
 #include <wx/window.h>
 #include <wx/control.h>
@@ -38,7 +33,7 @@ enum wxLEDValueAlign
 // wxLEDNumberCtrl
 // ----------------------------------------------------------------------------
 
-class GIZMODLLEXPORT wxLEDNumberCtrl : public wxControl
+class WXDLLIMPEXP_GIZMOS wxLEDNumberCtrl :     public wxControl
 {
 public:
     // Constructors.