]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listbkg.cpp
Bring back double border
[wxWidgets.git] / src / generic / listbkg.cpp
index ec18b7eb32812bfb29d41ec353611a8d6d9953d2..eae7c13d3ca20aeb952ae650550c3d2911ac8426 100644 (file)
@@ -329,7 +329,7 @@ wxListbook::InsertPage(size_t n,
     if (GetPageCount() == 1)
     {
         wxSizeEvent sz(GetSize(), GetId());
-        ProcessEvent(sz);
+        GetEventHandler()->ProcessEvent(sz);
     }
     return true;
 }
@@ -363,7 +363,7 @@ wxWindow *wxListbook::DoRemovePage(size_t page)
         if (GetPageCount() == 0)
         {
             wxSizeEvent sz(GetSize(), GetId());
-            ProcessEvent(sz);
+            GetEventHandler()->ProcessEvent(sz);
         }
     }
 
@@ -380,7 +380,7 @@ bool wxListbook::DeleteAllPages()
     m_selection = -1;
 
     wxSizeEvent sz(GetSize(), GetId());
-    ProcessEvent(sz);
+    GetEventHandler()->ProcessEvent(sz);
 
     return true;
 }