]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/stdpaths.cpp
cgimagecreate from wxbitmap crashes 10.2 - turn off. Put in right click handler to...
[wxWidgets.git] / src / os2 / stdpaths.cpp
index 86a91d3e0cc60a31dbeec98263b8d1b0bebae66b..bd715391252651d5e497925781747b1af11474dc 100644 (file)
@@ -20,6 +20,8 @@
 // for compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_STDPATHS
+
 #ifdef __BORLANDC__
     #pragma hdrstop
 #endif
@@ -54,7 +56,7 @@ wxString wxStandardPaths::GetInstallPrefix() const
     {
         wxStandardPaths *self = wx_const_cast(wxStandardPaths *, this);
 
-       self->m_prefix = _T("/usr/local");
+        self->m_prefix = _T("/usr/local");
     }
     return m_prefix;
 }
@@ -87,3 +89,5 @@ wxString wxStandardPaths::GetPluginsDir() const
 {
     return wxString();
 }
+
+#endif // wxUSE_STDPATHS