X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/700d08c1092bd08150d47b952c1e0d817a64d75f..1e6ffd6691b959e7be4aee314e4218b316be0923:/src/gtk/filectrl.cpp diff --git a/src/gtk/filectrl.cpp b/src/gtk/filectrl.cpp index c79d27d3bc..b2729ab9e2 100644 --- a/src/gtk/filectrl.cpp +++ b/src/gtk/filectrl.cpp @@ -16,7 +16,7 @@ #include "wx/filectrl.h" -#if defined(__WXGTK24__) && !defined(__WXUNIVERSAL__) +#if wxUSE_FILECTRL && !defined(__WXUNIVERSAL__) #ifndef WX_PRECOMP # include "wx/sizer.h" @@ -258,7 +258,6 @@ IMPLEMENT_DYNAMIC_CLASS( wxGtkFileCtrl, wxControl ) void wxGtkFileCtrl::Init() { - m_hasFocus = false; m_checkNextSelEvent = false; // ignore the first folder change event which is fired upon startup. @@ -421,8 +420,6 @@ void wxGtkFileCtrl::ShowHidden(bool show) g_object_set (G_OBJECT (m_fcWidget), "show-hidden", show, NULL); } -#endif - // wxUSE_FILECTRL +#endif // wxUSE_FILECTRL -#endif - // if defined(__WXGTK24__) && !defined(__WXUNIVERSAL__) +#endif // wxUSE_FILECTRL && !defined(__WXUNIVERSAL__)