echo "$ac_t""no" 1>&6
fi
- min_gtk_version=1.2.1
+ min_gtk_version=1.2.3
echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
echo "configure:6934: checking for GTK - version >= $min_gtk_version" >&5
no_gtk=""
echo "$ac_t""no" 1>&6
GTK_CFLAGS=""
GTK_LIBS=""
- { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
+ { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.3 or above?" 1>&2; exit 1; }
fi
samples/png/Makefile
samples/printing/Makefile
samples/proplist/Makefile
+ samples/propsize/Makefile
samples/richedit/Makefile
samples/resource/Makefile
samples/sashtest/Makefile
samples/png/Makefile
samples/printing/Makefile
samples/proplist/Makefile
+ samples/propsize/Makefile
samples/richedit/Makefile
samples/resource/Makefile
samples/sashtest/Makefile
if test "$wxUSE_GTK" = 1; then
dnl avoid calling AM_PATH_GTK twice, so check first for the newer version
dnl and only then, if it wasn't found, for an older one
- AM_PATH_GTK(1.2.1, WXGTK12=1, AC_MSG_ERROR(Is gtk-config in path and GTK+ is version 1.2.1 or above?))
+ AM_PATH_GTK(1.2.3, WXGTK12=1, AC_MSG_ERROR(Is gtk-config in path and GTK+ is version 1.2.3 or above?))
dnl it doesn't really work with 1.3.0 now...
dnl AM_PATH_GTK(1.3.0,
dnl WXGTK13=1,
samples/png/Makefile
samples/printing/Makefile
samples/proplist/Makefile
+ samples/propsize/Makefile
samples/richedit/Makefile
samples/resource/Makefile
samples/sashtest/Makefile
person could help me by running a small testprogram and sending
me the output.
+Improved support for GTK's themes, changes in font sizes (and
+the dialogs' ability to react to that) and related things.
+
Added Calendar control.
Added classes for recoding text (e.g. from Windows encoding to ISO encoding
Added wxDir class. Useful as a replacement for wxFileGetFirst()
and wxFileGetNext().
+Fixed Y2000 bug in file dialog (sic.)
+
Added wxStopWatch class.
wxBitmap now derives from wxGDIObject.
{
public:
wxControl();
- wxControl( wxWindow *parent,
- wxWindowID id,
- const wxPoint &pos = wxDefaultPosition,
- const wxSize &size = wxDefaultSize,
- long style = 0,
- const wxString &name = wxControlNameStr );
+ wxControl(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = 0,
+#if wxUSE_VALIDATORS
+ const wxValidator& validator = wxDefaultValidator,
+#endif
+ const wxString& name = wxControlNameStr)
+ {
+ Create(parent, id, pos, size, style,
+#if wxUSE_VALIDATORS
+ validator,
+#endif
+ name);
+ }
+ bool Create(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = 0,
#if wxUSE_VALIDATORS
- wxControl( wxWindow *parent,
- wxWindowID id,
- const wxPoint &pos = wxDefaultPosition,
- const wxSize &size = wxDefaultSize,
- long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString &name = wxControlNameStr );
+ const wxValidator& validator = wxDefaultValidator,
#endif
+ const wxString& name = wxControlNameStr);
// this function will filter out '&' characters and will put the accelerator
// char (the one immediately after '&') into m_chAccel (TODO not yet)
{
public:
wxControl();
- wxControl( wxWindow *parent,
- wxWindowID id,
- const wxPoint &pos = wxDefaultPosition,
- const wxSize &size = wxDefaultSize,
- long style = 0,
- const wxString &name = wxControlNameStr );
+ wxControl(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = 0,
+#if wxUSE_VALIDATORS
+ const wxValidator& validator = wxDefaultValidator,
+#endif
+ const wxString& name = wxControlNameStr)
+ {
+ Create(parent, id, pos, size, style,
+#if wxUSE_VALIDATORS
+ validator,
+#endif
+ name);
+ }
+ bool Create(wxWindow *parent, wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize, long style = 0,
#if wxUSE_VALIDATORS
- wxControl( wxWindow *parent,
- wxWindowID id,
- const wxPoint &pos = wxDefaultPosition,
- const wxSize &size = wxDefaultSize,
- long style = 0,
- const wxValidator& validator = wxDefaultValidator,
- const wxString &name = wxControlNameStr );
+ const wxValidator& validator = wxDefaultValidator,
#endif
+ const wxString& name = wxControlNameStr);
// this function will filter out '&' characters and will put the accelerator
// char (the one immediately after '&') into m_chAccel (TODO not yet)
m_needParent = TRUE;
}
-wxControl::wxControl( wxWindow *parent,
+bool wxControl::Create( wxWindow *parent,
wxWindowID id,
const wxPoint &pos,
const wxSize &size,
long style,
- const wxString &name )
-{
- (void)Create(parent, id, pos, size, style, name);
-}
-
#if wxUSE_VALIDATORS
-wxControl::wxControl( wxWindow *parent,
- wxWindowID id,
- const wxPoint &pos,
- const wxSize &size,
- long style,
const wxValidator& validator,
- const wxString &name)
+#endif
+ const wxString &name )
{
- (void)Create(parent, id, pos, size, style, name);
+ bool ret = wxWindow::Create(parent, id, pos, size, style, name);
+
+#if wxUSE_VALIDATORS
SetValidator(validator);
-}
#endif
+ return ret;
+}
+
void wxControl::SetLabel( const wxString &label )
{
m_label.Empty();
m_needParent = TRUE;
}
-wxControl::wxControl( wxWindow *parent,
+bool wxControl::Create( wxWindow *parent,
wxWindowID id,
const wxPoint &pos,
const wxSize &size,
long style,
- const wxString &name )
-{
- (void)Create(parent, id, pos, size, style, name);
-}
-
#if wxUSE_VALIDATORS
-wxControl::wxControl( wxWindow *parent,
- wxWindowID id,
- const wxPoint &pos,
- const wxSize &size,
- long style,
const wxValidator& validator,
- const wxString &name)
+#endif
+ const wxString &name )
{
- (void)Create(parent, id, pos, size, style, name);
+ bool ret = wxWindow::Create(parent, id, pos, size, style, name);
+
+#if wxUSE_VALIDATORS
SetValidator(validator);
-}
#endif
+ return ret;
+}
+
void wxControl::SetLabel( const wxString &label )
{
m_label.Empty();