]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing compile for ios
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 6 Nov 2012 06:35:29 +0000 (06:35 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 6 Nov 2012 06:35:29 +0000 (06:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/testing.h

index a67585a13040fa9862d4e8af4fd97a54475008fa..6a729209cc55def5447ab045eebde4e6b3bb6eaa 100644 (file)
@@ -201,6 +201,7 @@ protected:
     int m_id;
 };
 
+#if wxUSE_FILEDLG
 
 template<>
 class wxExpectModal<wxFileDialog> : public wxExpectModalBase<wxFileDialog>
@@ -222,6 +223,7 @@ protected:
     int m_id;
 };
 
+#endif
 
 // Implementation of wxModalDialogHook for use in testing, with
 // wxExpectModal<T> and the wxTEST_DIALOG() macro. It is not intended for