]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/slider95.h
always return solid background for listbox
[wxWidgets.git] / include / wx / msw / slider95.h
index 626efc0125ee1244f1670a9cdd63b7bf1b401427..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,6 +97,8 @@ protected:
                            int width, int height,
                            int sizeFlags = wxSIZE_AUTO);
 
+    virtual wxSize DoGetBestSize() const;
+
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxSlider95)
 };