summaryrefslogtreecommitdiff
path: root/support/dktools/DkWxDialog.cpt
blob: ac097bc3370ec06db4ecd8eb541ae6da887058aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%%	options

%%	header

#include <dk3all.h>

#include <wx/wxprec.h>
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif

/**	Base class for dialogs.
*/
class DkWxDialog : public wxDialog
{
  public:
    /**	Constructor.
    	@param	parent	Parent frame or dialog.
	@param	wid	Windows ID.
	@param	title	Dialog box title.
    */
    DkWxDialog(
      wxWindow		*parent,
      wxWindowID	 wid,
      wxChar const	*title
    );
};

%%	module


#include "DkWxDialog.h"



$!trace-include



DkWxDialog::DkWxDialog(
  wxWindow	*parent,
  wxWindowID	 wid,
  wxChar const	*title
) : wxDialog(
  parent,
  wid,
  title,
  wxDefaultPosition,
  wxDefaultSize,
  wxDEFAULT_DIALOG_STYLE
)
{
}