Include wx/dcmemory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: dcmemory.cpp
|
||||
// Name: src/gtk/dcmemory.cpp
|
||||
// Purpose:
|
||||
// Author: Robert Roebling
|
||||
// RCS-ID: $Id$
|
||||
@@ -23,7 +23,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC,wxWindowDC)
|
||||
|
||||
wxMemoryDC::wxMemoryDC() : wxWindowDC()
|
||||
{
|
||||
m_ok = FALSE;
|
||||
m_ok = false;
|
||||
|
||||
m_cmap = gtk_widget_get_default_colormap();
|
||||
|
||||
@@ -38,7 +38,7 @@ wxMemoryDC::wxMemoryDC() : wxWindowDC()
|
||||
wxMemoryDC::wxMemoryDC( wxDC *WXUNUSED(dc) )
|
||||
: wxWindowDC()
|
||||
{
|
||||
m_ok = FALSE;
|
||||
m_ok = false;
|
||||
|
||||
m_cmap = gtk_widget_get_default_colormap();
|
||||
|
||||
@@ -70,13 +70,13 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
|
||||
|
||||
m_selected.PurgeOtherRepresentations(wxBitmap::Pixmap);
|
||||
|
||||
m_isMemDC = TRUE;
|
||||
m_isMemDC = true;
|
||||
|
||||
SetUpDC();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_ok = FALSE;
|
||||
m_ok = false;
|
||||
m_window = (GdkWindow *) NULL;
|
||||
}
|
||||
}
|
||||
@@ -158,5 +158,3 @@ void wxMemoryDC::DoGetSize( int *width, int *height ) const
|
||||
if (height) (*height) = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user