GCC warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-01-03 14:20:53 +00:00
parent eb48778d4d
commit 3786ce5ad8

View File

@@ -102,8 +102,8 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
wxWindow *parent, wxWindow *parent,
int style) int style)
: wxDialog(parent, wxID_ANY, title), : wxDialog(parent, wxID_ANY, title),
m_delay(3), m_skip(false),
m_skip(false) m_delay(3)
{ {
// we may disappear at any moment, let the others know about it // we may disappear at any moment, let the others know about it
SetExtraStyle(GetExtraStyle() | wxWS_EX_TRANSIENT); SetExtraStyle(GetExtraStyle() | wxWS_EX_TRANSIENT);
@@ -223,7 +223,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
bool sizeDlgModified = false; bool sizeDlgModified = false;
wxBoxSizer *buttonSizer = new wxBoxSizer(wxHORIZONTAL); wxBoxSizer *buttonSizer = new wxBoxSizer(wxHORIZONTAL);
const int sizerFlags = const int sizerFlags =
#if defined(__WXMSW__) || defined(__WXPM__) #if defined(__WXMSW__) || defined(__WXPM__)
wxALIGN_RIGHT | wxALL wxALIGN_RIGHT | wxALL
#else // !MSW #else // !MSW