]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
Use the black pen for the border on Windows now too.
[wxWidgets.git] / src / common / intl.cpp
index 12beb715c7cef6efa5baee002ee936232d8fa46d..08797387a7b7b565fdc4c36a550692f29ac8af99 100644 (file)
@@ -1377,12 +1377,13 @@ const wxMB2WXbuf wxLocale::GetString(const wxChar *szOrigString,
 
     return (wxMB2WXbuf)(szOrigString);
   }
 
     return (wxMB2WXbuf)(szOrigString);
   }
-  else
-  {
-    return wxConvertMB2WX(pszTrans); // or preferably wxCSConv(charset).cMB2WX(pszTrans) or something,
-                                     // a macro similar to wxConvertMB2WX could be written for that
-  }
 
 
+  // or preferably wxCSConv(charset).cMB2WX(pszTrans) or something, a macro
+  // similar to wxConvertMB2WX could be written for that
+
+  return wxConvertMB2WX(pszTrans);
+
+  // undo the hack from the beginning of this function
   #undef szOrgString
 }
 
   #undef szOrgString
 }