// Author: Robert Roebling
// RCS-ID: $Id$
// Copyright: (c) 1998 Robert Roebling
-// Licence: wxWindows licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#include "wx/dcmemory.h"
-#include "gdk/gdk.h"
-#include "gtk/gtk.h"
+#include <gdk/gdk.h>
+#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// wxMemoryDC
wxMemoryDC::wxMemoryDC() : wxWindowDC()
{
m_ok = FALSE;
-
+
m_cmap = gtk_widget_get_default_colormap();
}
-wxMemoryDC::wxMemoryDC( wxDC *WXUNUSED(dc) )
+wxMemoryDC::wxMemoryDC( wxDC *WXUNUSED(dc) )
: wxWindowDC()
{
m_ok = FALSE;
-
+
m_cmap = gtk_widget_get_default_colormap();
}
{
m_window = m_selected.GetBitmap();
}
-
+
SetUpDC();
-
+
m_isMemDC = TRUE;
}
else
- {
+ {
m_ok = FALSE;
m_window = (GdkWindow *) NULL;
}