X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f932daffcb1edacc0c8c0cbba18a1427360236ce..74a8f67d96591cec101def2a7d47c64072aff7fd:/src/palmos/taskbar.cpp?ds=sidebyside diff --git a/src/palmos/taskbar.cpp b/src/palmos/taskbar.cpp index fe982906d8..5bdb1f8551 100644 --- a/src/palmos/taskbar.cpp +++ b/src/palmos/taskbar.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////// -// File: taskbar.cpp +// File: src/palmos/taskbar.cpp // Purpose: Implements wxTaskBarIcon class for manipulating icons on // the task bar. // Author: Julian Smart @@ -10,23 +10,20 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "taskbar.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif +#if wxUSE_TASKBARICON + #ifndef WX_PRECOMP -#include "wx/defs.h" -#include "wx/window.h" -#include "wx/frame.h" -#include "wx/utils.h" -#include "wx/menu.h" + #include "wx/window.h" + #include "wx/frame.h" + #include "wx/utils.h" + #include "wx/menu.h" #endif #if defined(__WIN95__) @@ -87,12 +84,12 @@ bool wxTaskBarIcon::SetIcon(const wxIcon& icon, const wxString& tooltip) bool wxTaskBarIcon::RemoveIcon() { - return false; + return false; } bool wxTaskBarIcon::PopupMenu(wxMenu *menu) { - return false; + return false; } void wxTaskBarIcon::RegisterWindowMessages() @@ -112,3 +109,4 @@ long wxTaskBarIcon::WindowProc(unsigned int msg, #endif // __WIN95__ +#endif // wxUSE_TASKBARICON