]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fileconf.cpp
Added mising AddBitmapList in wxBitmap
[wxWidgets.git] / src / common / fileconf.cpp
index 24d10b9833054977f866c2928537af6b676d4334..5688b9aa41be50a987ebc390f5eefb3e6d9f8d67 100644 (file)
@@ -85,6 +85,9 @@ wxString wxFileConfig::GetGlobalDir()
 
   #ifdef __UNIX__
     strDir = "/etc/";
+  #elif defined(__WXSTUBS__)
+    // TODO
+    wxASSERT( TRUE ) ;
   #else // Windows
     #ifndef _MAX_PATH
       #define _MAX_PATH 512
@@ -1311,6 +1314,9 @@ wxString FilterIn(const wxString& str)
 // quote the string before writing it to file
 wxString FilterOut(const wxString& str)
 {
+   if(str.IsEmpty())
+      return str;
+   
   wxString strResult;
   strResult.Alloc(str.Len());