]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/nativdlg.cpp
ADDED wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
[wxWidgets.git] / src / msw / nativdlg.cpp
index 9c3088c8bdf3abd3aa2bab48ac6068ed2ffd3f8c..097db29e59800a2927bd3a3813b165b3c63da19b 100644 (file)
@@ -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")