]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/toolbar/toolbar.cpp
Removed private wxGetLocalTimeUsec() function from Unix code.
[wxWidgets.git] / samples / toolbar / toolbar.cpp
index 180ac7ccd468ff621ee2843ef0967a9357ff5f49..6f8327a9113b207e4b5fc054ece35ecabcd7036c 100644 (file)
@@ -494,7 +494,7 @@ void MyFrame::PopulateToolbar(wxToolBarBase* toolBar)
     {
         // create a tool with a custom bitmap for testing
         wxImage img(m_pathBmp);
-        if ( img.Ok() )
+        if ( img.IsOk() )
         {
             if ( img.GetWidth() > w && img.GetHeight() > h )
                 img = img.GetSubImage(wxRect(0, 0, w, h));