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:
@@ -30,9 +30,7 @@
|
||||
#include "wx/region.h"
|
||||
#include "wx/utils.h"
|
||||
|
||||
#if wxUSE_VALIDATORS
|
||||
#include "wx/validate.h" // defines wxDefaultValidator
|
||||
#endif // wxUSE_VALIDATORS
|
||||
#include "wx/validate.h" // for wxDefaultValidator (always include it)
|
||||
|
||||
#if wxUSE_ACCEL
|
||||
#include "wx/accel.h"
|
||||
@@ -121,10 +119,7 @@ public:
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
|
||||
#if wxUSE_VALIDATORS
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
#endif // wxUSE_VALIDATORS
|
||||
const wxString& name = wxPanelNameStr);
|
||||
|
||||
virtual ~wxWindowBase();
|
||||
|
Reference in New Issue
Block a user