projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
assert if wxCAL_SEQUENTIAL_MONTH_SELECTION style is changed after creation as this...
[wxWidgets.git]
/
include
/
wx
/
x11
/
dcclient.h
diff --git
a/include/wx/x11/dcclient.h
b/include/wx/x11/dcclient.h
index 717ef91ea24d73d79fb4d64fbd3c3a396d0c5bb4..0d9ffbcb6b05c42ed41976af2d59e50c52d45648 100644
(file)
--- a/
include/wx/x11/dcclient.h
+++ b/
include/wx/x11/dcclient.h
@@
-12,10
+12,6
@@
#ifndef _WX_DCCLIENT_H_
#define _WX_DCCLIENT_H_
#ifndef _WX_DCCLIENT_H_
#define _WX_DCCLIENT_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "dcclient.h"
-#endif
-
#include "wx/dc.h"
#include "wx/region.h"
#include "wx/dc.h"
#include "wx/region.h"
@@
-36,10
+32,10
@@
class WXDLLIMPEXP_CORE wxClientDC;
class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
{
public:
class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
{
public:
- wxWindowDC()
;
+ wxWindowDC()
{ Init(); }
wxWindowDC( wxWindow *win );
wxWindowDC( wxWindow *win );
- ~wxWindowDC();
+
virtual
~wxWindowDC();
virtual bool CanDrawBitmap() const { return true; }
virtual bool CanGetTextExtent() const { return true; }
virtual bool CanDrawBitmap() const { return true; }
virtual bool CanGetTextExtent() const { return true; }
@@
-104,11
+100,6
@@
public:
virtual wxCoord GetCharHeight() const;
virtual wxCoord GetCharWidth() const;
virtual wxCoord GetCharHeight() const;
virtual wxCoord GetCharWidth() const;
- virtual void DoGetTextExtent(const wxString& string,
- wxCoord *x, wxCoord *y,
- wxCoord *descent = NULL,
- wxCoord *externalLeading = NULL,
- wxFont *theFont = NULL) const;
virtual int GetDepth() const;
virtual wxSize GetPPI() const;
virtual int GetDepth() const;
virtual wxSize GetPPI() const;
@@
-116,9
+107,18
@@
public:
virtual void DestroyClippingRegion();
WXWindow GetWindow() const { return m_window; }
virtual void DestroyClippingRegion();
WXWindow GetWindow() const { return m_window; }
+ virtual void ComputeScaleAndOrigin();
+
protected:
// implementation
// --------------
protected:
// implementation
// --------------
+ virtual void DoGetTextExtent(const wxString& string,
+ wxCoord *x, wxCoord *y,
+ wxCoord *descent = NULL,
+ wxCoord *externalLeading = NULL,
+ wxFont *theFont = NULL) const;
+
+ void Init();
WXDisplay *m_display;
WXWindow m_window;
WXDisplay *m_display;
WXWindow m_window;
@@
-140,7
+140,6
@@
protected:
void SetUpDC();
void Destroy();
void SetUpDC();
void Destroy();
- virtual void ComputeScaleAndOrigin();
private:
DECLARE_DYNAMIC_CLASS(wxWindowDC)
private:
DECLARE_DYNAMIC_CLASS(wxWindowDC)