X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..57f2a6529245d54274a4c56469f1828a6f8fd497:/src/palmos/tabctrl.cpp diff --git a/src/palmos/tabctrl.cpp b/src/palmos/tabctrl.cpp index 8ba8b74746..17f24e9420 100644 --- a/src/palmos/tabctrl.cpp +++ b/src/palmos/tabctrl.cpp @@ -1,33 +1,31 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: tabctrl.cpp +// Name: src/palmos/tabctrl.cpp // Purpose: wxTabCtrl -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // 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