projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix return value of wxGenericTreeCtrl::FindItem().
[wxWidgets.git]
/
samples
/
taskbar
/
tbtest.h
diff --git
a/samples/taskbar/tbtest.h
b/samples/taskbar/tbtest.h
index df54f38dcfdd917c14cfbfa08a835e5ff9a0dd44..6c08b2ef87ee58d1dc31e64c6af53645e743e536 100644
(file)
--- a/
samples/taskbar/tbtest.h
+++ b/
samples/taskbar/tbtest.h
@@
-12,7
+12,7
@@
class MyTaskBarIcon : public wxTaskBarIcon
{
public:
class MyTaskBarIcon : public wxTaskBarIcon
{
public:
-#if defined(__WX
COCOA__)
+#if defined(__WX
OSX__) && wxOSX_USE_COCOA
MyTaskBarIcon(wxTaskBarIconType iconType = DEFAULT_TYPE)
: wxTaskBarIcon(iconType)
#else
MyTaskBarIcon(wxTaskBarIconType iconType = DEFAULT_TYPE)
: wxTaskBarIcon(iconType)
#else
@@
-53,7
+53,7
@@
protected:
void OnCloseWindow(wxCloseEvent& event);
MyTaskBarIcon *m_taskBarIcon;
void OnCloseWindow(wxCloseEvent& event);
MyTaskBarIcon *m_taskBarIcon;
-#if defined(__WX
COCOA__)
+#if defined(__WX
OSX__) && wxOSX_USE_COCOA
MyTaskBarIcon *m_dockIcon;
#endif
MyTaskBarIcon *m_dockIcon;
#endif