]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gauge.h
Applied patch [ 1255676 ] stc2wx/wx2stc not exported (Win32 Unicode DLL)
[wxWidgets.git] / include / wx / gauge.h
index e704797be73f26b7af05fe2782da8d0b9d72b3df..9c81e0223e6ce6e2dfe6c4e96b6a6a123bb5a106 100644 (file)
 #ifndef _WX_GAUGE_H_BASE_
 #define _WX_GAUGE_H_BASE_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "gaugebase.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_GAUGE
@@ -36,7 +32,7 @@
 #define wxGA_PROGRESSBAR     0
 
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxGaugeNameStr;
+extern WXDLLEXPORT_DATA(const wxChar) wxGaugeNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxGauge: a progress bar
@@ -77,7 +73,7 @@ public:
     virtual int GetBezelFace() const;
 
     // overriden base class virtuals
-    virtual bool AcceptsFocus() const { return FALSE; }
+    virtual bool AcceptsFocus() const { return false; }
 
 protected:
     // the max position
@@ -92,12 +88,8 @@ protected:
 #if defined(__WXUNIVERSAL__)
     #include "wx/univ/gauge.h"
 #elif defined(__WXMSW__)
-    #ifdef __WIN95__
-        #include "wx/msw/gauge95.h"
-        #define wxGauge wxGauge95
-    #else // !__WIN95__
-        // Gauge no longer supported on 16-bit Windows
-    #endif
+    #include "wx/msw/gauge95.h"
+    #define wxGauge wxGauge95
 #elif defined(__WXMOTIF__)
     #include "wx/motif/gauge.h"
 #elif defined(__WXGTK__)