Unix compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/wxUNIVERSAL@8114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-08-16 18:38:01 +00:00
parent 4d3c4c2f94
commit be1f93ab87
17 changed files with 136 additions and 21 deletions

View File

@@ -47,6 +47,8 @@ public:
virtual bool Pending();
virtual void Dispatch();
virtual bool IsActive() const;
virtual wxIcon GetStdIcon(int which) const;
// implementation only from now on
@@ -65,6 +67,8 @@ public:
void SuppressIdleEvents(bool arg = TRUE) { m_suppressIdleEvents = arg; }
bool GetSuppressIdleEvents() const { return m_suppressIdleEvents; }
void SetActive(bool isActive) { m_isActive = isActive; }
bool m_initialized;
gint m_idleTag;
@@ -74,9 +78,12 @@ public:
unsigned char *m_colorCube;
private:
/// Set to TRUE while we are in wxYield().
// Set to TRUE while we are in wxYield().
bool m_suppressIdleEvents;
// does any of our windows has focus?
bool m_isActive;
private:
DECLARE_DYNAMIC_CLASS(wxApp)
DECLARE_EVENT_TABLE()

View File

@@ -47,6 +47,8 @@ public:
virtual bool Pending();
virtual void Dispatch();
virtual bool IsActive() const;
virtual wxIcon GetStdIcon(int which) const;
// implementation only from now on
@@ -65,6 +67,8 @@ public:
void SuppressIdleEvents(bool arg = TRUE) { m_suppressIdleEvents = arg; }
bool GetSuppressIdleEvents() const { return m_suppressIdleEvents; }
void SetActive(bool isActive) { m_isActive = isActive; }
bool m_initialized;
gint m_idleTag;
@@ -74,9 +78,12 @@ public:
unsigned char *m_colorCube;
private:
/// Set to TRUE while we are in wxYield().
// Set to TRUE while we are in wxYield().
bool m_suppressIdleEvents;
// does any of our windows has focus?
bool m_isActive;
private:
DECLARE_DYNAMIC_CLASS(wxApp)
DECLARE_EVENT_TABLE()

View File

@@ -16,15 +16,19 @@
*/
#ifdef __GNUG__
#pragma implementation "renderer.h"
#pragma interface "renderer.h"
#endif
#ifndef _WX_UNIX_RENDERER_H_
#define _WX_UNIX_RENDERER_H_
class WXDLLEXPORT wxControl;
class WXDLLEXPORT wxDC;
class WXDLLEXPORT wxWindow;
#include "wx/string.h"
#include "wx/gdicmn.h"
// ----------------------------------------------------------------------------
// constants
// ----------------------------------------------------------------------------