]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/textctrl.cpp
Toolbars shouldn't have themed borders
[wxWidgets.git] / src / gtk / textctrl.cpp
index f83398df445e1bb9dbf0b2beef46a246cbd382e2..1b08ecc0a8d49d2e91fb2e9f88a429ce433dcde9 100644 (file)
@@ -10,6 +10,8 @@
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#if wxUSE_TEXTCTRL
+
 #include "wx/textctrl.h"
 
 #ifndef WX_PRECOMP
@@ -1989,3 +1991,5 @@ wxTextCtrl::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
 {
     return GetDefaultAttributesFromGTKWidget(gtk_entry_new, true);
 }
+
+#endif // wxUSE_TEXTCTRL