X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8f884a0dccd6b642f35c441ac9bfc87a6d5b4d35..062dfc9a96dc9e796c53544f41ff92dc47f26e82:/src/generic/paletteg.cpp diff --git a/src/generic/paletteg.cpp b/src/generic/paletteg.cpp index 760e6039f5..a30275fb18 100644 --- a/src/generic/paletteg.cpp +++ b/src/generic/paletteg.cpp @@ -82,8 +82,8 @@ int wxPalette::GetColoursCount() const { if (m_refData) return M_PALETTEDATA->m_count; - - return 0; + + return 0; } bool wxPalette::Create(int n, @@ -152,7 +152,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(data)); } #endif // wxUSE_PALETTE