OS/2 updates for debugging and statusbar processing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2000-10-24 21:46:49 +00:00
parent 4720388fc5
commit d7e1a32274
5 changed files with 21 additions and 6 deletions

View File

@@ -13,7 +13,7 @@
#define _WX_DC_H_ #define _WX_DC_H_
#include "wx/defs.h" #include "wx/defs.h"
#include "wx/dc.h" //#include "wx/dc.h"
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// macros // macros
@@ -72,7 +72,7 @@ class WXDLLEXPORT wxDC : public wxDCBase
DECLARE_DYNAMIC_CLASS(wxDC) DECLARE_DYNAMIC_CLASS(wxDC)
public: public:
wxDC(); wxDC(void);
~wxDC(); ~wxDC();
// implement base class pure virtuals // implement base class pure virtuals
@@ -303,6 +303,13 @@ protected:
wxWindow* m_pCanvas; wxWindow* m_pCanvas;
wxBitmap m_vSelectedBitmap; wxBitmap m_vSelectedBitmap;
public:
// PM specific stuff
HPS m_hPS;
HPS m_hOldPS; // old hPS, if any
bool m_bIsPaintTime;// True at Paint Time
RECTL m_vRclPaint; // Bounding rectangle at Paint time etc.
// //
// TRUE => DeleteDC() in dtor, FALSE => only ReleaseDC() it // TRUE => DeleteDC() in dtor, FALSE => only ReleaseDC() it
// //

View File

@@ -44,8 +44,6 @@ public:
virtual ~wxWindowDC(); virtual ~wxWindowDC();
// PM specific stuff
HPS m_hPS;
private: private:
HAB m_hab; HAB m_hab;
SIZEL m_PageSize; SIZEL m_PageSize;

View File

@@ -32,7 +32,7 @@ public:
int ShowModal(); int ShowModal();
wxFontData& GetFontData() { return m_fontData; } wxFontData& GetFontData() { return m_fontData; }
protected: //EK protected:
wxWindow* m_dialogParent; wxWindow* m_dialogParent;
wxFontData m_fontData; wxFontData m_fontData;
}; };

View File

@@ -12,7 +12,9 @@
#ifndef _WX_HELPWIN_H_ #ifndef _WX_HELPWIN_H_
#define _WX_HELPWIN_H_ #define _WX_HELPWIN_H_
#include "wx/wx.h" //EK #include "wx/wx.h"
#if wxUSE_HELP
#include "wx/helpbase.h" #include "wx/helpbase.h"
@@ -47,5 +49,7 @@ private:
bool DisplaySection(const wxString& rSection) { return wxHelpControllerBase::DisplaySection(rSection); } bool DisplaySection(const wxString& rSection) { return wxHelpControllerBase::DisplaySection(rSection); }
}; };
#endif //wxUSE_HELP
#endif #endif
// _WX_HELPWIN_H_ // _WX_HELPWIN_H_

View File

@@ -15,6 +15,12 @@
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// global settings // global settings
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// use TCPV40 from toolkit - EK
#define TCPV40HDRS
// use double mode + PM GUI and Window text window,
// to use it you must link your app as "Window"
#define wxUSE_CONSOLEDEBUG 1
// define this to 1 if you want icons to behave as bitmaps // define this to 1 if you want icons to behave as bitmaps
#define wxICON_IS_BITMAP 0 #define wxICON_IS_BITMAP 0