1%% options 2copyright owner = Dirk Krause 3copyright year = 2017-xxxx 4SPDX-License-Identifier: BSD-3-Clause 5 6%% header 7 8#include <libdk3c/dk3all.h> 9 10#include <wx/wxprec.h> 11#ifdef __BORLANDC__ 12#pragma hdrstop 13#endif 14#ifndef WX_PRECOMP 15#include <wx/wx.h> 16#endif 17 18/** Base class for dialogs. 19*/ 20class DkWxDialog : public wxDialog 21{ 22 public: 23 /** Constructor. 24 @param parent Parent frame or dialog. 25 @param wid Windows ID. 26 @param title Dialog box title. 27 */ 28 DkWxDialog( 29 wxWindow *parent, 30 wxWindowID wid, 31 wxChar const *title 32 ); 33}; 34 35%% module 36 37#include "dk3conf.h" 38#include <libdk3wx/DkWxDialog.h> 39 40 41 42$!trace-include 43 44 45 46DkWxDialog::DkWxDialog( 47 wxWindow *parent, 48 wxWindowID wid, 49 wxChar const *title 50) : wxDialog( 51 parent, 52 wid, 53 title, 54 wxDefaultPosition, 55 wxDefaultSize, 56 wxDEFAULT_DIALOG_STYLE 57) 58{ 59} 60