projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Applied patch [ 803473 ] wxListCtrl header height bugfix
[wxWidgets.git]
/
include
/
wx
/
gtk
/
dc.h
diff --git
a/include/wx/gtk/dc.h
b/include/wx/gtk/dc.h
index 78c421c9c410364b1c0fe73bc68ac6c4b586335b..23650e5c0cc7b42014e97593a7235a9982e6057a 100644
(file)
--- a/
include/wx/gtk/dc.h
+++ b/
include/wx/gtk/dc.h
@@
-11,7
+11,7
@@
#ifndef __GTKDCH__
#define __GTKDCH__
#ifndef __GTKDCH__
#define __GTKDCH__
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface
#endif
#pragma interface
#endif
@@
-134,7
+134,6
@@
public:
protected:
// base class pure virtuals implemented here
virtual void DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
protected:
// base class pure virtuals implemented here
virtual void DoSetClippingRegion(wxCoord x, wxCoord y, wxCoord width, wxCoord height);
- virtual void DoGetSize(int *width, int *height) const;
virtual void DoGetSizeMM(int* width, int* height) const;
public:
virtual void DoGetSizeMM(int* width, int* height) const;
public:
@@
-148,9
+147,16
@@
public:
bool m_needComputeScaleX,
m_needComputeScaleY; // not yet used
bool m_needComputeScaleX,
m_needComputeScaleY; // not yet used
-
+
private:
DECLARE_ABSTRACT_CLASS(wxDC)
};
private:
DECLARE_ABSTRACT_CLASS(wxDC)
};
+// this must be defined when wxDC::Blit() honours the DC origian and needed to
+// allow wxUniv code in univ/winuniv.cpp to work with versions of wxGTK
+// 2.3.[23]
+#ifndef wxHAS_WORKING_GTK_DC_BLIT
+ #define wxHAS_WORKING_GTK_DC_BLIT
+#endif
+
#endif // __GTKDCH__
#endif // __GTKDCH__