projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clarified the parameters of MB2WC and WC2MB a little in the docs/headers
[wxWidgets.git]
/
src
/
motif
/
dc.cpp
diff --git
a/src/motif/dc.cpp
b/src/motif/dc.cpp
index cba31c0c30b073872e7b765afc6feeeaf898bca2..187bf9f0184f0d18415fff7bdded3bf33df091c8 100644
(file)
--- a/
src/motif/dc.cpp
+++ b/
src/motif/dc.cpp
@@
-9,17
+9,18
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "dc.h"
#endif
#pragma implementation "dc.h"
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#include "wx/dc.h"
#include "wx/dcmemory.h"
#include "wx/defs.h"
#include "wx/dc.h"
#include "wx/dcmemory.h"
#include "wx/defs.h"
-#if !USE_SHARED_LIBRARY
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
-#endif
//-----------------------------------------------------------------------------
// constants
//-----------------------------------------------------------------------------
// constants
@@
-89,11
+90,6
@@
void wxDC::DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord hei
m_clipY2 = y + height;
}
m_clipY2 = y + height;
}
-void wxDC::DestroyClippingRegion()
-{
- m_clipping = FALSE;
-}
-
void wxDC::DoGetSize( int* width, int* height ) const
{
if ( width )
void wxDC::DoGetSize( int* width, int* height ) const
{
if ( width )