]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/slider95.h
wxURI/wxURL links in changes list.
[wxWidgets.git] / include / wx / msw / slider95.h
index 5c1d103e02225dbe91cb9f68b0847db9f2884270..a47175afb527dd93c680afdcad6762a3f9be7d6e 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _SLIDER95_H_
 #define _SLIDER95_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "slider95.h"
 #endif
 
@@ -46,11 +46,9 @@ public:
     virtual int GetValue() const;
     virtual void SetValue(int);
 
-    void GetSize(int *w, int *h) const;
-
     void GetPosition(int *x, int *y) const;
 
-    bool Show(bool show = TRUE);
+    bool Show(bool show = true);
 
     void SetRange(int minValue, int maxValue);
 
@@ -80,8 +78,6 @@ public:
     virtual bool ContainsHWND(WXHWND hWnd) const;
 
     void Command(wxCommandEvent& event);
-    virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor,
-            WXUINT message, WXWPARAM wParam, WXLPARAM lParam);
     virtual bool MSWOnScroll(int orientation, WXWORD wParam,
                              WXWORD pos, WXHWND control);
 
@@ -101,7 +97,9 @@ protected:
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
 
-    DECLARE_DYNAMIC_CLASS(wxSlider95)
+    virtual wxSize DoGetBestSize() const;
+
+    DECLARE_DYNAMIC_CLASS_NO_COPY(wxSlider95)
 };
 
 #endif