From: Włodzimierz Skiba Date: Wed, 13 Sep 2006 16:14:26 +0000 (+0000) Subject: [ 1556353 ] [wxOS2] Change derivation to add wxGauge::Pulse X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8df950a694225cb255d3cbac5f70f4d8573b273a?ds=sidebyside [ 1556353 ] [wxOS2] Change derivation to add wxGauge::Pulse git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/os2/gauge.h b/include/wx/os2/gauge.h index 9b8f2dca23..5df97b19ae 100644 --- a/include/wx/os2/gauge.h +++ b/include/wx/os2/gauge.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gauge.h +// Name: wx/os2/gauge.h // Purpose: wxGauge class // Author: David Webster // Modified by: @@ -12,9 +12,7 @@ #ifndef _WX_GAUGE_H_ #define _WX_GAUGE_H_ -#include "wx/control.h" - -class WXDLLEXPORT wxGauge: public wxControl +class WXDLLEXPORT wxGauge: public wxGaugeBase { public: inline wxGauge() { m_nRangeMax = 0; m_nGaugePos = 0; } @@ -78,4 +76,3 @@ private: }; // end of CLASS wxGauge #endif // _WX_GAUGE_H_ - diff --git a/src/os2/gauge.cpp b/src/os2/gauge.cpp index f0dda60e50..9c95081918 100644 --- a/src/os2/gauge.cpp +++ b/src/os2/gauge.cpp @@ -27,7 +27,7 @@ extern void wxAssociateWinWithHandle( HWND hWnd ,wxWindowOS2* pWin ); -IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxControl) +IMPLEMENT_DYNAMIC_CLASS(wxGauge, wxGaugeBase) MRESULT EXPENTRY wxGaugeWndProc( HWND hWnd, UINT uMessage,