]> git.saurik.com Git - wxWidgets.git/commitdiff
guarding compile
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 4 Dec 2010 13:33:45 +0000 (13:33 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 4 Dec 2010 13:33:45 +0000 (13:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/richtext/richtextimagedlg.cpp

index 4ca4a641be714c61111fc525533240cd83930827..982df5ecf2dca5cc8770ce674042c20318739ed2 100644 (file)
@@ -16,6 +16,9 @@
 #pragma hdrstop
 #endif
 
+
+#if wxUSE_RICHTEXT
+
 #ifndef WX_PRECOMP
     #include "wx/button.h"
     #include "wx/combobox.h"
@@ -508,3 +511,4 @@ void wxRichTextImageDialog::OnRichtextimagedialogDownClick( wxCommandEvent& WXUN
     m_image->SetRange(wxRichTextRange(rg.GetEnd(), rg.GetEnd()));
 }
 
+#endif