]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/palette.cpp
Check for menu title being non-empty when appending it to the menu bar.
[wxWidgets.git] / src / osx / palette.cpp
index c92d1da1ea18e80cadc01a1fb5b195f9b77a7217..a288caa9bde0e8318fed394af92900842f4b94c0 100644 (file)
@@ -37,7 +37,7 @@ protected:
 
     friend class WXDLLIMPEXP_FWD_CORE wxPalette;
 
-    DECLARE_NO_ASSIGN_CLASS(wxPaletteRefData)
+    wxDECLARE_NO_ASSIGN_CLASS(wxPaletteRefData);
 };
 
 wxPaletteRefData::wxPaletteRefData()
@@ -149,7 +149,7 @@ wxGDIRefData *wxPalette::CreateGDIRefData() const
 
 wxGDIRefData *wxPalette::CloneGDIRefData(const wxGDIRefData *data) const
 {
-    return new wxPaletteRefData(*wx_static_cast(const wxPaletteRefData *, data));
+    return new wxPaletteRefData(*static_cast<const wxPaletteRefData *>(data));
 }
 
 #endif // wxUSE_PALETTE