]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Don't remove generic status bar from parent, since it can be used on
[wxWidgets.git] / src / common / utilscmn.cpp
index db74590edfca571ae6c3b5369b5de519787d7f3a..4e4d3a92807d2213d62ba25328ae0f11b671b1c9 100644 (file)
@@ -287,13 +287,8 @@ const wxChar *wxGetInstallPrefix()
 
 wxString wxGetDataDir()
 {
-    wxString format = wxGetInstallPrefix();
-    format <<  wxFILE_SEP_PATH
-           << wxT("share") << wxFILE_SEP_PATH
-           << wxT("wx") << wxFILE_SEP_PATH
-           << wxT("%i.%i");
-    wxString dir;
-    dir.Printf(format.c_str(), wxMAJOR_VERSION, wxMINOR_VERSION);
+    wxString dir = wxGetInstallPrefix();
+    dir <<  wxFILE_SEP_PATH << wxT("share") << wxFILE_SEP_PATH << wxT("wx");
     return dir;
 }