#if wxUSE_CONTROLS
-#include "wx/log.h"
#include "wx/control.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/log.h"
+ #include "wx/settings.h"
+#endif
+
#include "wx/fontutil.h"
-#include "wx/settings.h"
#include "wx/gtk/private.h"
// ============================================================================
wxControl::wxControl()
{
- m_needParent = TRUE;
+ m_needParent = true;
}
bool wxControl::Create( wxWindow *parent,
GtkWidget* framewidget = gtk_frame_new(NULL);
gtk_frame_set_label_widget(GTK_FRAME(framewidget), labelwidget);
- return framewidget; //note that the label is already set so you'll
+ return framewidget; //note that the label is already set so you'll
//only need to call wxControl::SetLabel afterwards
}
}
#endif // wxUSE_CONTROLS
-