1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
regenerated the makefiles. wxPostEvent() should work for wxGTK too (untested) 2. long -> wxCoord change for wxGTK and wxMSW, use wxUSE_COMPATIBLE_COORD_TYPES to get the old behaviour 3. wxHTML compilation fixes (for !wxUSE_HTML case) 4. a couple of handy macros in thread.h added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// Author: Robert Roebling
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1998 Robert Roebling
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
@@ -25,15 +25,15 @@ IMPLEMENT_DYNAMIC_CLASS(wxMemoryDC,wxWindowDC)
|
||||
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();
|
||||
}
|
||||
|
||||
@@ -54,13 +54,13 @@ void wxMemoryDC::SelectObject( const wxBitmap& bitmap )
|
||||
{
|
||||
m_window = m_selected.GetBitmap();
|
||||
}
|
||||
|
||||
|
||||
SetUpDC();
|
||||
|
||||
|
||||
m_isMemDC = TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
{
|
||||
m_ok = FALSE;
|
||||
m_window = (GdkWindow *) NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user