]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/richtext/richtextimagedlg.h
Update msw files to use the new definitions
[wxWidgets.git] / include / wx / richtext / richtextimagedlg.h
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/richtext/richtextimagedlg.h
3// Purpose:
4// Author: Mingquan Yang
5// Modified by: Julian Smart
6// Created: Wed 02 Jun 2010 11:27:23 CST
7// RCS-ID:
8// Copyright: (c) Mingquan Yang, Julian Smart
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#include "wx/dialog.h"
13
14#ifndef _RICHTEXTIMAGEDLG_H_
15#define _RICHTEXTIMAGEDLG_H_
16
17/*!
18 * Forward declarations
19 */
20
21class WXDLLIMPEXP_FWD_CORE wxButton;
22class WXDLLIMPEXP_FWD_CORE wxComboBox;
23class WXDLLIMPEXP_FWD_CORE wxCheckBox;
24class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
25
26/*!
27 * Includes
28 */
29
30#include "wx/richtext/richtextbuffer.h"
31#include "wx/richtext/richtextformatdlg.h"
32
33/*!
34 * Control identifiers
35 */
36
37////@begin control identifiers
38#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_STYLE wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL
39#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_TITLE _("Object Properties")
40#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_IDNAME ID_RICHTEXTOBJECTPROPERTIESDIALOG
41#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_SIZE wxSize(400, 300)
42#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_POSITION wxDefaultPosition
43////@end control identifiers
44
45/*!
46 * wxRichTextObjectPropertiesDialog class declaration
47 */
48
49class WXDLLIMPEXP_RICHTEXT wxRichTextObjectPropertiesDialog: public wxRichTextFormattingDialog
50{
51 DECLARE_DYNAMIC_CLASS( wxRichTextObjectPropertiesDialog )
52 DECLARE_EVENT_TABLE()
53
54public:
55 /// Constructors
56 wxRichTextObjectPropertiesDialog();
57 wxRichTextObjectPropertiesDialog( wxRichTextObject* obj, wxWindow* parent, wxWindowID id = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_IDNAME, const wxString& caption = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_TITLE, const wxPoint& pos = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_POSITION, const wxSize& size = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_SIZE, long style = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_STYLE );
58
59 /// Creation
60 bool Create( wxRichTextObject* obj, wxWindow* parent, wxWindowID id = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_IDNAME, const wxString& caption = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_TITLE, const wxPoint& pos = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_POSITION, const wxSize& size = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_SIZE, long style = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_STYLE );
61
62 /// Destructor
63 ~wxRichTextObjectPropertiesDialog();
64
65 /// Initialises member variables
66 void Init();
67
68 /// Creates the controls and sizers
69 void CreateControls();
70
71////@begin wxRichTextObjectPropertiesDialog event handler declarations
72
73////@end wxRichTextObjectPropertiesDialog event handler declarations
74
75////@begin wxRichTextObjectPropertiesDialog member function declarations
76
77 /// Retrieves bitmap resources
78 wxBitmap GetBitmapResource( const wxString& name );
79
80 /// Retrieves icon resources
81 wxIcon GetIconResource( const wxString& name );
82////@end wxRichTextObjectPropertiesDialog member function declarations
83
84 /// Should we show tooltips?
85 static bool ShowToolTips();
86
87////@begin wxRichTextObjectPropertiesDialog member variables
88 /// Control identifiers
89 enum {
90 ID_RICHTEXTOBJECTPROPERTIESDIALOG = 10650
91 };
92////@end wxRichTextObjectPropertiesDialog member variables
93};
94
95#endif
96 // _RICHTEXTIMAGEDLG_H_