restored variabes initialization in OnButtonSet() to avoid spurious MSVC warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
152e99d73f
commit
1525e5435c
@ -223,7 +223,9 @@ void DatePickerWidgetsPage::OnButtonReset(wxCommandEvent& WXUNUSED(event))
|
|||||||
|
|
||||||
void DatePickerWidgetsPage::OnButtonSet(wxCommandEvent& WXUNUSED(event))
|
void DatePickerWidgetsPage::OnButtonSet(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
long day, month, year;
|
long day = 0,
|
||||||
|
month = 0,
|
||||||
|
year = 0;
|
||||||
if ( m_day->GetValue().ToLong(&day) &&
|
if ( m_day->GetValue().ToLong(&day) &&
|
||||||
m_month->GetValue().ToLong(&month) &&
|
m_month->GetValue().ToLong(&month) &&
|
||||||
m_year->GetValue().ToLong(&year) )
|
m_year->GetValue().ToLong(&year) )
|
||||||
|
Loading…
Reference in New Issue
Block a user