X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..1b4092eb0b2f823ef3e37a8d9a51c3e12d1438c2:/src/msw/nativdlg.cpp diff --git a/src/msw/nativdlg.cpp b/src/msw/nativdlg.cpp index 9c3088c8bd..097db29e59 100644 --- a/src/msw/nativdlg.cpp +++ b/src/msw/nativdlg.cpp @@ -96,7 +96,7 @@ wxWindow* wxWindow::GetWindowChild1(wxWindowID& id) if ( m_windowId == id ) return this; - wxNode *node = GetChildren()->First(); + wxNode *node = GetChildren().First(); while ( node ) { wxWindow* child = (wxWindow*) node->Data(); @@ -227,7 +227,7 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd) #if defined(__WIN95__) else if (str == "MSCTLS_UPDOWN32") { - win == new wxSpinButton; + win = new wxSpinButton; } #endif else if (str == "MSCTLS_TRACKBAR32")