]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/textdlgg.cpp
fix for visible lines calculation
[wxWidgets.git] / src / generic / textdlgg.cpp
index d34210a7c9f6319fe9537b5a67cbc6877fe54b21..9b6a5b965efdde7d256432afdd4f80bc4be58696 100644 (file)
@@ -28,6 +28,8 @@
     #pragma hdrstop
 #endif
 
+#if wxUSE_TEXTDLG
+
 #ifndef WX_PRECOMP
     #include <stdio.h>
 
@@ -119,3 +121,5 @@ void wxTextEntryDialog::OnOK(wxCommandEvent& WXUNUSED(event) )
 
     EndModal(wxID_OK);
 }
+
+#endif // wxUSE_TEXTDLG