X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5cb598ae2014330aaecbd19b8bbe41df2ad61911..3e2656801d825761f55ea9b0b766802c6cd32f1d:/src/msw/colordlg.cpp?ds=sidebyside diff --git a/src/msw/colordlg.cpp b/src/msw/colordlg.cpp index b7bbd4fb77..eb8936211d 100644 --- a/src/msw/colordlg.cpp +++ b/src/msw/colordlg.cpp @@ -117,7 +117,7 @@ bool wxColourDialog::Create(wxWindow *parent, wxColourData *data) if (data) m_colourData = *data; - return TRUE; + return true; } int wxColourDialog::ShowModal() @@ -201,10 +201,10 @@ void wxColourDialog::DoSetSize(int x, int y, int WXUNUSED(width), int WXUNUSED(height), int WXUNUSED(sizeFlags)) { - if ( x != -1 ) + if ( x != wxDefaultCoord ) m_pos.x = x; - if ( y != -1 ) + if ( y != wxDefaultCoord ) m_pos.y = y; // ignore the size params - we can't change the size of a standard dialog