]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tabg.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / generic / tabg.cpp
index 2ce29fd0492a5056a240ed34e5f4334f94bc1c2d..9f7f8e092b1ffdbe4619ec90f5a0cb9f2a3359ca 100644 (file)
@@ -1225,9 +1225,9 @@ wxPanelTabView::wxPanelTabView(wxPanel *pan, long style)
   m_panel = pan;
   m_currentWindow = NULL;
 
-  if (m_panel->IsKindOf(CLASSINFO(wxTabbedDialog)))
+  if (m_panel->IsKindOf(wxCLASSINFO(wxTabbedDialog)))
     ((wxTabbedDialog *)m_panel)->SetTabView(this);
-  else if (m_panel->IsKindOf(CLASSINFO(wxTabbedPanel)))
+  else if (m_panel->IsKindOf(wxCLASSINFO(wxTabbedPanel)))
     ((wxTabbedPanel *)m_panel)->SetTabView(this);
 
   SetWindow(m_panel);