X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b39dbf34b887a73c525da903d8599f4f6b7eb8f9..cb73e6001f891ae46b12a1e4ca39b93649cb6099:/src/msw/gauge95.cpp diff --git a/src/msw/gauge95.cpp b/src/msw/gauge95.cpp index 7df84ca373..4862f9d249 100644 --- a/src/msw/gauge95.cpp +++ b/src/msw/gauge95.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "gauge95.h" #endif @@ -66,7 +66,27 @@ // wxWin macros // ---------------------------------------------------------------------------- +#if wxUSE_EXTENDED_RTTI +IMPLEMENT_DYNAMIC_CLASS_XTI(wxGauge, wxControl,"wx/gauge.h") + +WX_BEGIN_PROPERTIES_TABLE(wxGauge95) + WX_PROPERTY( Value , int , SetValue, GetValue, 0 ) + WX_PROPERTY( Range , int , SetRange, GetRange, 0 ) + WX_PROPERTY( ShadowWidth , int , SetShadowWidth, GetShadowWidth, 0 ) + WX_PROPERTY( BezelFace , int , SetBezelFace, GetBezelFace, 0 ) +/* + TODO PROPERTIES + style wxGA_HORIZONTAL +*/ +WX_END_PROPERTIES_TABLE() + +WX_BEGIN_HANDLERS_TABLE(wxGauge95) +WX_END_HANDLERS_TABLE() + +WX_CONSTRUCTOR_6( wxGauge95 , wxWindow* , Parent , wxWindowID , Id , int , Range , wxPoint , Position , wxSize , Size , long , WindowStyle ) +#else IMPLEMENT_DYNAMIC_CLASS(wxGauge95, wxControl) +#endif // ============================================================================ // implementation