Use default constructors for wxSize/Point/Rect.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-02-10 21:33:56 +00:00
parent 1c6dd11c98
commit 2997ca30d6
23 changed files with 87 additions and 88 deletions

View File

@@ -48,7 +48,7 @@
#include "wx/dateevt.h"
#include "wx/generic/datectrl.h"
#include "wx/arrstr.h"
#include "wx/arrstr.h"
#include "wx/calctrl.h"
#include "wx/popupwin.h"
#include "wx/renderer.h"
@@ -144,10 +144,10 @@ bool wxDatePickerCtrlGeneric::Create(wxWindow *parent,
m_popup->SetFont(GetFont());
wxPanel *panel=new wxPanel(m_popup, CTRLID_PAN,
wxPoint(0, 0), wxDefaultSize,
wxPoint(), wxDefaultSize,
wxSUNKEN_BORDER);
m_cal = new wxCalendarCtrl(panel, CTRLID_CAL, wxDefaultDateTime,
wxPoint(0,0), wxDefaultSize,
wxPoint(), wxDefaultSize,
wxCAL_SHOW_HOLIDAYS | wxSUNKEN_BORDER);
m_cal->Connect(CTRLID_CAL, CTRLID_CAL, wxEVT_CALENDAR_SEL_CHANGED,
(wxObjectEventFunction)