replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -105,7 +105,7 @@ static void gtk_window_own_expose_callback( GtkWidget *widget, GdkEventExpose *g
|
||||
gdk_gc_unref( gc );
|
||||
|
||||
// Hack alert
|
||||
wx_static_cast(wxClientDCImpl *, dc.GetImpl())->m_window = pizza->bin_window;
|
||||
static_cast<wxClientDCImpl *>(dc.GetImpl())->m_window = pizza->bin_window;
|
||||
dc.SetTextForeground( *wxWHITE );
|
||||
dc.DrawText( win->GetTitle(), 6, 3 );
|
||||
}
|
||||
@@ -151,7 +151,7 @@ static void gtk_window_own_draw_callback( GtkWidget *widget, GdkRectangle *WXUNU
|
||||
gdk_gc_unref( gc );
|
||||
|
||||
// Hack alert
|
||||
wx_static_cast(wxClientDCImpl *, dc.GetImpl())->m_window = pizza->bin_window;
|
||||
static_cast<wxClientDCImpl *>(dc.GetImpl())->m_window = pizza->bin_window;
|
||||
dc.SetTextForeground( *wxWHITE );
|
||||
dc.DrawText( win->GetTitle(), 6, 3 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user