X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e273151278d28cceefe6eee8c49bc6915306805d..3184454fc04cf572075c9473535fd07b8f9839c7:/src/palmos/tabctrl.cpp diff --git a/src/palmos/tabctrl.cpp b/src/palmos/tabctrl.cpp index 0fa7c888cf..17f24e9420 100644 --- a/src/palmos/tabctrl.cpp +++ b/src/palmos/tabctrl.cpp @@ -9,25 +9,23 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "tabctrl.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif +#if wxUSE_TAB_DIALOG + #ifndef WX_PRECOMP -#include "wx/wx.h" + #include "wx/wx.h" + #include "wx/app.h" #endif #if defined(__WIN95__) #include "wx/tabctrl.h" -#include "wx/app.h" #include "wx/palmos/imaglist.h" IMPLEMENT_DYNAMIC_CLASS(wxTabCtrl, wxControl) @@ -37,7 +35,6 @@ DEFINE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGED) DEFINE_EVENT_TYPE(wxEVT_COMMAND_TAB_SEL_CHANGING) BEGIN_EVENT_TABLE(wxTabCtrl, wxControl) - EVT_SYS_COLOUR_CHANGED(wxTabCtrl::OnSysColourChanged) END_EVENT_TABLE() wxTabCtrl::wxTabCtrl() @@ -59,11 +56,6 @@ bool wxTabCtrl::MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result) return false; } -// Responds to colour changes, and passes event on to children. -void wxTabCtrl::OnSysColourChanged(wxSysColourChangedEvent& event) -{ -} - // Delete all items bool wxTabCtrl::DeleteAllItems() { @@ -187,3 +179,4 @@ void wxTabCtrl::SetPadding(const wxSize& padding) #endif // __WIN95__ +#endif // wxUSE_TAB_DIALOG