Fix taskbar sample compilation under wxOSX/Cocoa.
Use wxTBI_XXX constants instead of wxTaskBarIcon::XXX ones which don't seem to exist any longer. See #11831. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -138,7 +138,7 @@ MyDialog::MyDialog(const wxString& title)
|
||||
}
|
||||
|
||||
#if defined(__WXOSX__) && wxOSX_USE_COCOA
|
||||
m_dockIcon = new MyTaskBarIcon(wxTaskBarIcon::DOCK);
|
||||
m_dockIcon = new MyTaskBarIcon(wxTBI_DOCK);
|
||||
if ( !m_dockIcon->SetIcon(wxICON(sample)) )
|
||||
{
|
||||
wxLogError(wxT("Could not set icon."));
|
||||
|
Reference in New Issue
Block a user