no changes, just de-TAB-bed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -196,23 +196,23 @@ public:
|
||||
protected:
|
||||
void Init()
|
||||
{
|
||||
m_pCanvas = NULL;
|
||||
m_hOldBitmap = 0;
|
||||
m_hOldPen = 0;
|
||||
m_hOldBrush = 0;
|
||||
m_hOldFont = 0;
|
||||
m_pCanvas = NULL;
|
||||
m_hOldBitmap = 0;
|
||||
m_hOldPen = 0;
|
||||
m_hOldBrush = 0;
|
||||
m_hOldFont = 0;
|
||||
#if wxUSE_PALETTE
|
||||
m_hOldPalette = 0;
|
||||
#endif // wxUSE_PALETTE
|
||||
|
||||
m_bOwnsDC = false;
|
||||
m_hDC = 0;
|
||||
m_hOldPS = NULL;
|
||||
m_hPS = NULL;
|
||||
m_bIsPaintTime = false; // True at Paint Time
|
||||
m_bOwnsDC = false;
|
||||
m_hDC = 0;
|
||||
m_hOldPS = NULL;
|
||||
m_hPS = NULL;
|
||||
m_bIsPaintTime = false; // True at Paint Time
|
||||
|
||||
m_pen.SetColour(*wxBLACK);
|
||||
m_brush.SetColour(*wxWHITE);
|
||||
m_pen.SetColour(*wxBLACK);
|
||||
m_brush.SetColour(*wxWHITE);
|
||||
}
|
||||
|
||||
// create an uninitialized DC: this should be only used by the derived
|
||||
|
@@ -118,10 +118,10 @@ public:
|
||||
// Supply origin and extent (recommended).
|
||||
// Then don't need to supply them to wxMakeMetaFilePlaceable.
|
||||
wxMetafileDC(const wxString& file, int xext, int yext, int xorg, int yorg)
|
||||
: wxDC(new wxMetafileDCImpl( this, file, xext, yext, xorg, yorg ))
|
||||
: wxDC(new wxMetafileDCImpl( this, file, xext, yext, xorg, yorg ))
|
||||
{ }
|
||||
|
||||
wxMetafile *GetMetafile() const
|
||||
wxMetafile *GetMetafile() const
|
||||
{ return ((wxMetafileDCImpl*)m_pimpl)->GetMetaFile(); }
|
||||
|
||||
virtual ~wxMetafileDC(void)
|
||||
|
@@ -24,8 +24,8 @@ public:
|
||||
wxTlsKey()
|
||||
{
|
||||
APIRET rc = ::DosAllocThreadLocalMemory(1, &m_slot);
|
||||
if (rc != NO_ERROR)
|
||||
m_slot = NULL;
|
||||
if (rc != NO_ERROR)
|
||||
m_slot = NULL;
|
||||
}
|
||||
|
||||
// return true if the key was successfully allocated
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
bool Set(void *value)
|
||||
{
|
||||
m_slot = (ULONG*)value;
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
// free the key
|
||||
|
Reference in New Issue
Block a user