]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
add the possibility to cancel drag-resizing by pressing Esc
[wxWidgets.git] / src / generic / notebook.cpp
index 04d8719747dcea1b7839da9c81bdcfdeda87e7be..ae59e3ff3f4025ebdd7da71f10f923218912d54d 100644 (file)
@@ -102,7 +102,7 @@ private:
 
 static int GetPageId(wxTabView *tabview, wxNotebookPage *page)
 {
-    return wx_static_cast(wxNotebookTabView*, tabview)->GetId(page);
+    return static_cast<wxNotebookTabView*>(tabview)->GetId(page);
 }
 
 // ----------------------------------------------------------------------------