wxMac linking fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c0a83c519b
commit
9f8b329b8c
@ -48,7 +48,7 @@
|
||||
|
||||
#define wxUSE_DIRDLGG 0
|
||||
|
||||
#if !defined(__WXMSW__) || defined(wxUSE_DIRDLGG) && wxUSE_DIRDLGG
|
||||
#if !(defined(__WXMSW__) || defined(__WXMAC__)) || wxUSE_DIRDLGG
|
||||
#include "wx/generic/dirdlgg.h"
|
||||
#endif
|
||||
|
||||
@ -590,7 +590,7 @@ void MyFrame::DirChooseNew(wxCommandEvent& WXUNUSED(event) )
|
||||
|
||||
void MyFrame::GenericDirChoose(wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
#if !defined(__WXMSW__) || defined(wxUSE_DIRDLGG) && wxUSE_DIRDLGG
|
||||
#if !(defined(__WXMSW__) || defined(__WXMAC__)) || wxUSE_DIRDLGG
|
||||
// pass some initial dir to wxDirDialog
|
||||
wxString dirHome;
|
||||
wxGetHomeDir(&dirHome);
|
||||
|
Loading…
Reference in New Issue
Block a user