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:
@@ -48,7 +48,7 @@
|
|||||||
|
|
||||||
#define wxUSE_DIRDLGG 0
|
#define wxUSE_DIRDLGG 0
|
||||||
|
|
||||||
#if !defined(__WXMSW__) || defined(wxUSE_DIRDLGG) && wxUSE_DIRDLGG
|
#if !(defined(__WXMSW__) || defined(__WXMAC__)) || wxUSE_DIRDLGG
|
||||||
#include "wx/generic/dirdlgg.h"
|
#include "wx/generic/dirdlgg.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -590,7 +590,7 @@ void MyFrame::DirChooseNew(wxCommandEvent& WXUNUSED(event) )
|
|||||||
|
|
||||||
void MyFrame::GenericDirChoose(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
|
// pass some initial dir to wxDirDialog
|
||||||
wxString dirHome;
|
wxString dirHome;
|
||||||
wxGetHomeDir(&dirHome);
|
wxGetHomeDir(&dirHome);
|
||||||
|
Reference in New Issue
Block a user