1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
2. wxWindow::Create() always takes a wxValidator parameter, even if !wxUSE_VALIDATORS - it is just ignored then, tons of #if wxUSE_VALIDATORS removed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -29,14 +29,6 @@ class WXDLLEXPORT wxControl: public wxWindow
|
||||
|
||||
public:
|
||||
wxControl();
|
||||
wxControl( wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint &pos = wxDefaultPosition,
|
||||
const wxSize &size = wxDefaultSize,
|
||||
long style = 0,
|
||||
const wxString &name = wxControlNameStr );
|
||||
|
||||
#if wxUSE_VALIDATORS
|
||||
wxControl( wxWindow *parent,
|
||||
wxWindowID id,
|
||||
const wxPoint &pos = wxDefaultPosition,
|
||||
@@ -44,7 +36,7 @@ public:
|
||||
long style = 0,
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString &name = wxControlNameStr );
|
||||
#endif
|
||||
|
||||
~wxControl();
|
||||
|
||||
// simulates the event, returns TRUE if the event was processed
|
||||
|
Reference in New Issue
Block a user