]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/notebook.cpp
Connect changed page event after subpages are created so book->SetSelection does...
[wxWidgets.git] / src / gtk / notebook.cpp
index f95f03dce6d7a8e16558050d4806e78f57b55b6e..948917069c1fb453b3ef689951de3ed65ca77033 100644 (file)
@@ -804,7 +804,7 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const
             wxPoint pos = GetPosition();
             rect.x -= pos.x;
             rect.y -= pos.y;
-            if ( rect.Inside( pt ) )
+            if ( rect.Contains( pt ) )
                 *flags |= wxBK_HITTEST_ONPAGE;
         }
     }