X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7f1cf28c2ed427516d67e89c4f9bd589335234c0..2549081bd9d8f820df474eed07253e7bf9667371:/include/wx/msw/slider95.h diff --git a/include/wx/msw/slider95.h b/include/wx/msw/slider95.h index 5c1d103e02..14a1f9dc7c 100644 --- a/include/wx/msw/slider95.h +++ b/include/wx/msw/slider95.h @@ -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); @@ -101,7 +99,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