X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc7a2a602b4bd9308be21bc07e40a680f483438e..2679196c7e7e919d4a15bec7d931a054e62c413f:/include/wx/msw/slider95.h diff --git a/include/wx/msw/slider95.h b/include/wx/msw/slider95.h index 626efc0125..51befcee29 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,8 +46,6 @@ 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); @@ -101,6 +99,8 @@ protected: int width, int height, int sizeFlags = wxSIZE_AUTO); + virtual wxSize DoGetBestSize() const; + DECLARE_DYNAMIC_CLASS_NO_COPY(wxSlider95) };