]> git.saurik.com Git - wxWidgets.git/blame - utils/wxOLE/gtk/wxole.h
Applied patched for combo box SELECTED events (no
[wxWidgets.git] / utils / wxOLE / gtk / wxole.h
CommitLineData
10d5be9a
RR
1/////////////////////////////////////////////////////////////////////////////
2// Name: wxole.h
3// Purpose: wxOLE
4// Author: Robert Roebling
5// Modified by:
6// Created: 17/8/98
7// RCS-ID: $Id$
8// Copyright: (c) Robert Roebling
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma interface "wxole.h"
14#endif
15
16#ifndef _WX_OLE_H_
17#define _WX_OLE_H_
18
19#include "wx/defs.h"
20#include "wx/object.h"
21#include "wx/frame.h"
86fdd27b 22#include "wx/stream.h"
10d5be9a
RR
23
24//-----------------------------------------------------------------------------
25// global data
26//-----------------------------------------------------------------------------
27
28extern const wxChar *wxOleNameStr;
29
30//---------------------------------------------------------------------------
31// classes
32//---------------------------------------------------------------------------
33
34class wxOleServerEnv;
35class wxOleServer;
36class wxOleControl;
37
38//---------------------------------------------------------------------------
39// wxOleServerEnv
40//---------------------------------------------------------------------------
41
42class wxOleServerEnvPrivate;
43
44class wxOleServerEnv : public wxObject
45{
46 DECLARE_CLASS(wxOleServerEnv)
47
48public:
49
50 wxOleServerEnv( const wxString &name, const wxString &version );
51 ~wxOleServerEnv();
52
53private:
54
55 wxString m_serverName;
56 wxString m_serverVersion;
57
58protected:
59 wxOleServerEnvPrivate *m_priv;
60};
61
62//---------------------------------------------------------------------------
63// wxOleServer
64//---------------------------------------------------------------------------
65
66class wxOleServerPrivate;
67
68class wxOleServer : public wxObject
69{
70 DECLARE_CLASS(wxOleServer)
71
72public:
73
74 wxOleServer( const wxString &id );
75 ~wxOleServer();
76
77 virtual wxOleControl *CreateOleControl();
78
79private:
80
81 wxString m_ID;
82
83protected:
84 wxOleServerPrivate *m_priv;
85};
86
87//---------------------------------------------------------------------------
88// wxOleControl
89//---------------------------------------------------------------------------
90
91class wxOleControl : public wxFrame
92{
93 DECLARE_CLASS(wxOleControl)
94
95public:
96
97 wxOleControl( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
98 ~wxOleControl();
99 bool Create( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
100
101protected:
102 virtual void DoSetSize(int x, int y,
103 int width, int height,
104 int sizeFlags = wxSIZE_AUTO);
105
106 virtual void DoSetClientSize(int width, int height);
107};
108
109#endif