]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/persist.cpp
Add various selection menu items to the sample.
[wxWidgets.git] / src / common / persist.cpp
index 52c4513924da38efd06d3ecb28c716bc5c8a6cff..7f8898f3274c98e119621dc8d5ef61727bbfd075 100644 (file)
@@ -23,6 +23,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_CONFIG
+
 #ifndef WX_PRECOMP
 #endif // WX_PRECOMP
 
@@ -40,6 +42,10 @@ wxPersistenceManager& wxPersistenceManager::Get()
     return s_manager;
 }
 
+wxPersistenceManager::~wxPersistenceManager()
+{
+}
+
 wxString
 wxPersistenceManager::GetKey(const wxPersistentObject& who,
                              const wxString& name) const
@@ -146,4 +152,6 @@ wxPERSIST_DEFINE_SAVE_RESTORE_FOR(int)
 wxPERSIST_DEFINE_SAVE_RESTORE_FOR(long)
 wxPERSIST_DEFINE_SAVE_RESTORE_FOR(wxString)
 
-#undef wxPERSIST_DEFINE_SAVE_RESTORE_FOR  
+#undef wxPERSIST_DEFINE_SAVE_RESTORE_FOR
+
+#endif // wxUSE_CONFIG