#ifndef WX_PRECOMP
#include "wx/log.h"
+ #include "wx/settings.h"
#endif
#include "wx/fontutil.h"
-#include "wx/settings.h"
#include "wx/gtk1/private.h"
// ============================================================================
wxControl::wxControl()
{
- m_needParent = TRUE;
+ m_needParent = true;
}
bool wxControl::Create( wxWindow *parent,
gtk_widget_ensure_style(m_widget);
ApplyWidgetStyle();
- SetInitialBestSize(size);
+ SetInitialSize(size);
}
// ----------------------------------------------------------------------------
const wxString labelGTK = GTKRemoveMnemonics(label);
- gtk_frame_set_label(w, labelGTK.empty() ? (char *)NULL
+ gtk_frame_set_label(w, labelGTK.empty() ? (const char *)NULL
: wxGTK_CONV(labelGTK));
}