wxUSE_GUI == 0 compilation fix (patch 1501724)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-24 17:13:38 +00:00
parent 008202b7e9
commit 9e34f56be8

View File

@@ -210,14 +210,17 @@ int wxAddProcessCallbackForPid(wxEndProcessData *proc_data, int pid)
return 0; return 0;
} }
#endif #endif // USE_POLLING
// USE_POLLING
// NOTE: This doens't really belong here but this was a handy file to // NOTE: This doesn't really belong here but this was a handy file to
// put it in because it's already compiled for wxCocoa and wxMac GUI lib. // put it in because it's already compiled for wxCocoa and wxMac GUI lib.
#if wxUSE_GUI
static wxStandardPathsCF gs_stdPaths; static wxStandardPathsCF gs_stdPaths;
wxStandardPathsBase& wxGUIAppTraits::GetStandardPaths() wxStandardPathsBase& wxGUIAppTraits::GetStandardPaths()
{ {
return gs_stdPaths; return gs_stdPaths;
} }
#endif // wxUSE_GUI