Compilation fix,
wxGTK requires GTK 1.2.3. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
6
configure
vendored
6
configure
vendored
@@ -6928,7 +6928,7 @@ else
|
|||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
fi
|
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 $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
|
||||||
echo "configure:6934: checking for GTK - version >= $min_gtk_version" >&5
|
echo "configure:6934: checking for GTK - version >= $min_gtk_version" >&5
|
||||||
no_gtk=""
|
no_gtk=""
|
||||||
@@ -6999,7 +6999,7 @@ fi
|
|||||||
echo "$ac_t""no" 1>&6
|
echo "$ac_t""no" 1>&6
|
||||||
GTK_CFLAGS=""
|
GTK_CFLAGS=""
|
||||||
GTK_LIBS=""
|
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
|
fi
|
||||||
|
|
||||||
|
|
||||||
@@ -13196,6 +13196,7 @@ trap 'rm -fr `echo "
|
|||||||
samples/png/Makefile
|
samples/png/Makefile
|
||||||
samples/printing/Makefile
|
samples/printing/Makefile
|
||||||
samples/proplist/Makefile
|
samples/proplist/Makefile
|
||||||
|
samples/propsize/Makefile
|
||||||
samples/richedit/Makefile
|
samples/richedit/Makefile
|
||||||
samples/resource/Makefile
|
samples/resource/Makefile
|
||||||
samples/sashtest/Makefile
|
samples/sashtest/Makefile
|
||||||
@@ -13423,6 +13424,7 @@ CONFIG_FILES=\${CONFIG_FILES-"wx-config
|
|||||||
samples/png/Makefile
|
samples/png/Makefile
|
||||||
samples/printing/Makefile
|
samples/printing/Makefile
|
||||||
samples/proplist/Makefile
|
samples/proplist/Makefile
|
||||||
|
samples/propsize/Makefile
|
||||||
samples/richedit/Makefile
|
samples/richedit/Makefile
|
||||||
samples/resource/Makefile
|
samples/resource/Makefile
|
||||||
samples/sashtest/Makefile
|
samples/sashtest/Makefile
|
||||||
|
@@ -1491,7 +1491,7 @@ fi
|
|||||||
if test "$wxUSE_GTK" = 1; then
|
if test "$wxUSE_GTK" = 1; then
|
||||||
dnl avoid calling AM_PATH_GTK twice, so check first for the newer version
|
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
|
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 it doesn't really work with 1.3.0 now...
|
||||||
dnl AM_PATH_GTK(1.3.0,
|
dnl AM_PATH_GTK(1.3.0,
|
||||||
dnl WXGTK13=1,
|
dnl WXGTK13=1,
|
||||||
@@ -3297,6 +3297,7 @@ AC_OUTPUT([
|
|||||||
samples/png/Makefile
|
samples/png/Makefile
|
||||||
samples/printing/Makefile
|
samples/printing/Makefile
|
||||||
samples/proplist/Makefile
|
samples/proplist/Makefile
|
||||||
|
samples/propsize/Makefile
|
||||||
samples/richedit/Makefile
|
samples/richedit/Makefile
|
||||||
samples/resource/Makefile
|
samples/resource/Makefile
|
||||||
samples/sashtest/Makefile
|
samples/sashtest/Makefile
|
||||||
|
@@ -6,6 +6,9 @@ and/or 16 bit colour mode? I need this for testing purposes, i.e. this
|
|||||||
person could help me by running a small testprogram and sending
|
person could help me by running a small testprogram and sending
|
||||||
me the output.
|
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 Calendar control.
|
||||||
|
|
||||||
Added classes for recoding text (e.g. from Windows encoding to ISO encoding
|
Added classes for recoding text (e.g. from Windows encoding to ISO encoding
|
||||||
@@ -54,6 +57,8 @@ Added wxNotebookSizer for combining notebooks and sizers.
|
|||||||
Added wxDir class. Useful as a replacement for wxFileGetFirst()
|
Added wxDir class. Useful as a replacement for wxFileGetFirst()
|
||||||
and wxFileGetNext().
|
and wxFileGetNext().
|
||||||
|
|
||||||
|
Fixed Y2000 bug in file dialog (sic.)
|
||||||
|
|
||||||
Added wxStopWatch class.
|
Added wxStopWatch class.
|
||||||
|
|
||||||
wxBitmap now derives from wxGDIObject.
|
wxBitmap now derives from wxGDIObject.
|
||||||
|
@@ -35,22 +35,28 @@ class wxControl : public wxControlBase
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxControl();
|
wxControl();
|
||||||
wxControl( wxWindow *parent,
|
wxControl(wxWindow *parent, wxWindowID id,
|
||||||
wxWindowID id,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxPoint &pos = wxDefaultPosition,
|
const wxSize& size = wxDefaultSize, long style = 0,
|
||||||
const wxSize &size = wxDefaultSize,
|
|
||||||
long style = 0,
|
|
||||||
const wxString &name = wxControlNameStr );
|
|
||||||
|
|
||||||
#if wxUSE_VALIDATORS
|
#if wxUSE_VALIDATORS
|
||||||
wxControl( wxWindow *parent,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
wxWindowID id,
|
|
||||||
const wxPoint &pos = wxDefaultPosition,
|
|
||||||
const wxSize &size = wxDefaultSize,
|
|
||||||
long style = 0,
|
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
|
||||||
const wxString &name = wxControlNameStr );
|
|
||||||
#endif
|
#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
|
||||||
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
|
#endif
|
||||||
|
const wxString& name = wxControlNameStr);
|
||||||
|
|
||||||
// this function will filter out '&' characters and will put the accelerator
|
// this function will filter out '&' characters and will put the accelerator
|
||||||
// char (the one immediately after '&') into m_chAccel (TODO not yet)
|
// char (the one immediately after '&') into m_chAccel (TODO not yet)
|
||||||
|
@@ -35,22 +35,28 @@ class wxControl : public wxControlBase
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxControl();
|
wxControl();
|
||||||
wxControl( wxWindow *parent,
|
wxControl(wxWindow *parent, wxWindowID id,
|
||||||
wxWindowID id,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
const wxPoint &pos = wxDefaultPosition,
|
const wxSize& size = wxDefaultSize, long style = 0,
|
||||||
const wxSize &size = wxDefaultSize,
|
|
||||||
long style = 0,
|
|
||||||
const wxString &name = wxControlNameStr );
|
|
||||||
|
|
||||||
#if wxUSE_VALIDATORS
|
#if wxUSE_VALIDATORS
|
||||||
wxControl( wxWindow *parent,
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
wxWindowID id,
|
|
||||||
const wxPoint &pos = wxDefaultPosition,
|
|
||||||
const wxSize &size = wxDefaultSize,
|
|
||||||
long style = 0,
|
|
||||||
const wxValidator& validator = wxDefaultValidator,
|
|
||||||
const wxString &name = wxControlNameStr );
|
|
||||||
#endif
|
#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
|
||||||
|
const wxValidator& validator = wxDefaultValidator,
|
||||||
|
#endif
|
||||||
|
const wxString& name = wxControlNameStr);
|
||||||
|
|
||||||
// this function will filter out '&' characters and will put the accelerator
|
// this function will filter out '&' characters and will put the accelerator
|
||||||
// char (the one immediately after '&') into m_chAccel (TODO not yet)
|
// char (the one immediately after '&') into m_chAccel (TODO not yet)
|
||||||
|
@@ -26,30 +26,25 @@ wxControl::wxControl()
|
|||||||
m_needParent = TRUE;
|
m_needParent = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxControl::wxControl( wxWindow *parent,
|
bool wxControl::Create( wxWindow *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxPoint &pos,
|
const wxPoint &pos,
|
||||||
const wxSize &size,
|
const wxSize &size,
|
||||||
long style,
|
long style,
|
||||||
|
#if wxUSE_VALIDATORS
|
||||||
|
const wxValidator& validator,
|
||||||
|
#endif
|
||||||
const wxString &name )
|
const wxString &name )
|
||||||
{
|
{
|
||||||
(void)Create(parent, id, pos, size, style, name);
|
bool ret = wxWindow::Create(parent, id, pos, size, style, name);
|
||||||
}
|
|
||||||
|
|
||||||
#if wxUSE_VALIDATORS
|
#if wxUSE_VALIDATORS
|
||||||
wxControl::wxControl( wxWindow *parent,
|
|
||||||
wxWindowID id,
|
|
||||||
const wxPoint &pos,
|
|
||||||
const wxSize &size,
|
|
||||||
long style,
|
|
||||||
const wxValidator& validator,
|
|
||||||
const wxString &name)
|
|
||||||
{
|
|
||||||
(void)Create(parent, id, pos, size, style, name);
|
|
||||||
SetValidator(validator);
|
SetValidator(validator);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
void wxControl::SetLabel( const wxString &label )
|
void wxControl::SetLabel( const wxString &label )
|
||||||
{
|
{
|
||||||
m_label.Empty();
|
m_label.Empty();
|
||||||
|
@@ -26,30 +26,25 @@ wxControl::wxControl()
|
|||||||
m_needParent = TRUE;
|
m_needParent = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
wxControl::wxControl( wxWindow *parent,
|
bool wxControl::Create( wxWindow *parent,
|
||||||
wxWindowID id,
|
wxWindowID id,
|
||||||
const wxPoint &pos,
|
const wxPoint &pos,
|
||||||
const wxSize &size,
|
const wxSize &size,
|
||||||
long style,
|
long style,
|
||||||
|
#if wxUSE_VALIDATORS
|
||||||
|
const wxValidator& validator,
|
||||||
|
#endif
|
||||||
const wxString &name )
|
const wxString &name )
|
||||||
{
|
{
|
||||||
(void)Create(parent, id, pos, size, style, name);
|
bool ret = wxWindow::Create(parent, id, pos, size, style, name);
|
||||||
}
|
|
||||||
|
|
||||||
#if wxUSE_VALIDATORS
|
#if wxUSE_VALIDATORS
|
||||||
wxControl::wxControl( wxWindow *parent,
|
|
||||||
wxWindowID id,
|
|
||||||
const wxPoint &pos,
|
|
||||||
const wxSize &size,
|
|
||||||
long style,
|
|
||||||
const wxValidator& validator,
|
|
||||||
const wxString &name)
|
|
||||||
{
|
|
||||||
(void)Create(parent, id, pos, size, style, name);
|
|
||||||
SetValidator(validator);
|
SetValidator(validator);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
void wxControl::SetLabel( const wxString &label )
|
void wxControl::SetLabel( const wxString &label )
|
||||||
{
|
{
|
||||||
m_label.Empty();
|
m_label.Empty();
|
||||||
|
Reference in New Issue
Block a user