]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/utils.cpp
Added implementations for two cases of wxSystemSettingsNative::GetMetric to
[wxWidgets.git] / src / motif / utils.cpp
index 413b8266fb91db5ee207d4e298c6b313b2e02d8c..b14765332d650d08c20e2b92d4825d5bf4b7465e 100644 (file)
@@ -135,7 +135,8 @@ void wxBell()
 
 wxToolkitInfo& wxGUIAppTraits::GetToolkitInfo()
 {
-    wxToolkitInfo info;
+    static wxToolkitInfo info;
+
     info.shortName = _T("motif");
     info.name = _T("wxMotif");
 #ifdef __WXUNIVERSAL__