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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<codegen language="C++">
<templates class="Project">
<template name="header_preamble">
@#include <wx/artprov.h>
#nl @#include <wx/xrc/xmlres.h>
#ifnotequal $cpp_help_provider "none"
@{ #nl @#include <wx/cshelp.h> @}
#ifnotequal $internationalize "0"
@{ #nl @#include <wx/intl.h> @}
</template>
<template name="header_epilogue">
///////////////////////////////////////////////////////////////////////////
</template>
<template name="cpp_preamble">
#ifnotnull $cpp_precompiled_header
@{
$cpp_precompiled_header
@}
</template>
<template name="cpp_epilogue">
#ifnotequal $cpp_help_provider "none"
@{
// Using the construction of a static object to ensure that the help provider is set #nl
// wx Manages the most recent HelpProvider passed to ::Set, but not the previous ones #nl
// If ::Set gets called more than once, the previous one is returned and should be deleted #nl
class wxFBContextSensitiveHelpSetter #nl
{ #nl
public: #nl
wxFBContextSensitiveHelpSetter() #nl
{ #nl
$cpp_help_provider* help = new wxSimpleHelpProvider(); #nl
wxHelpProvider* old = wxHelpProvider::Set( help ); #nl
if (old != 0){ #nl
delete old; #nl
} #nl
} #nl
}; #nl
#nl
static wxFBContextSensitiveHelpSetter s_wxFBSetTheHelpProvider; #nl
@}
///////////////////////////////////////////////////////////////////////////
</template>
</templates>
<templates class="wxWindow">
<template name="settings">
#ifnotnull $window_extra_style
@{ $name->SetExtraStyle( $window_extra_style ); #nl @}
#ifnotnull $font
@{ $name->SetFont( $font ); #nl @}
#ifnotnull $fg
@{ $name->SetForegroundColour( $fg ); #nl @}
#ifnotnull $bg
@{ $name->SetBackgroundColour( $bg ); #nl @}
#ifequal $enabled "0"
@{ $name->Enable( $enabled ); #nl @}
#ifequal $hidden "1"
@{ $name->Hide(); #nl @}
#ifnotnull $tooltip
@{ $name->SetToolTip( $tooltip ); #nl @}
#ifnotnull $context_help
@{ $name->SetHelpText( $context_help ); #nl @}
#ifnotequal $drag_accept_files "0"
@{ $name->DragAcceptFiles( true ); #nl @}
#ifnotnull $minimum_size
@{ $name->SetMinSize( $minimum_size ); #nl @}
#ifnotnull $maximum_size
@{ $name->SetMaxSize( $maximum_size ); #nl @}
#ifparenttypeequal "toolbar_form"
@{ AddControl( $name ); @}
</template>
<!-- wxKeyEvent -->
<template name="evt_entry_OnChar">@#error wxKeyEvent does not propagate, so wxEVT_CHAR from $name can only be handled with Connect()</template>
<template name="evt_connect_OnChar">$name->Connect( wxEVT_CHAR, #handler, NULL, this );</template>
<template name="evt_entry_OnCharHook">EVT_CHAR_HOOK( #handler )</template>
<template name="evt_connect_OnCharHook">$name->Connect( wxEVT_CHAR_HOOK, #handler, NULL, this );</template>
<template name="evt_entry_OnKeyDown">@#error wxKeyEvent does not propagate, so wxEVT_KEY_DOWN from $name can only be handled with Connect()</template>
<template name="evt_connect_OnKeyDown">$name->Connect( wxEVT_KEY_DOWN, #handler, NULL, this );</template>
<template name="evt_entry_OnKeyUp">@#error wxKeyEvent does not propagate, so wxEVT_KEY_UP from $name can only be handled with Connect()</template>
<template name="evt_connect_OnKeyUp">$name->Connect( wxEVT_KEY_UP, #handler, NULL, this );</template>
<!-- wxMouseEvent -->
<template name="evt_entry_OnEnterWindow">@#error wxMouseEvent does not propagate, so wxEVT_ENTER_WINDOW from $name can only be handled with Connect()</template>
<template name="evt_connect_OnEnterWindow">$name->Connect( wxEVT_ENTER_WINDOW, #handler, NULL, this );</template>
<template name="evt_entry_OnLeaveWindow">@#error wxMouseEvent does not propagate, so wxEVT_LEAVE_WINDOW from $name can only be handled with Connect()</template>
<template name="evt_connect_OnLeaveWindow">$name->Connect( wxEVT_LEAVE_WINDOW, #handler, NULL, this );</template>
<template name="evt_entry_OnLeftDClick">@#error wxMouseEvent does not propagate, so wxEVT_LEFT_DCLICK from $name can only be handled with Connect()</template>
<template name="evt_connect_OnLeftDClick">$name->Connect( wxEVT_LEFT_DCLICK, #handler, NULL, this );</template>
<template name="evt_entry_OnLeftDown">@#error wxMouseEvent does not propagate, so wxEVT_LEFT_DOWN from $name can only be handled with Connect()</template>
<template name="evt_connect_OnLeftDown">$name->Connect( wxEVT_LEFT_DOWN, #handler, NULL, this );</template>
<template name="evt_entry_OnLeftUp">@#error wxMouseEvent does not propagate, so wxEVT_LEFT_UP from $name can only be handled with Connect()</template>
<template name="evt_connect_OnLeftUp">$name->Connect( wxEVT_LEFT_UP, #handler, NULL, this );</template>
<template name="evt_entry_OnMiddleDClick">@#error wxMouseEvent does not propagate, so wxEVT_MIDDLE_DCLICK from $name can only be handled with Connect()</template>
<template name="evt_connect_OnMiddleDClick">$name->Connect( wxEVT_MIDDLE_DCLICK, #handler, NULL, this );</template>
<template name="evt_entry_OnMiddleDown">@#error wxMouseEvent does not propagate, so wxEVT_MIDDLE_DOWN from $name can only be handled with Connect()</template>
<template name="evt_connect_OnMiddleDown">$name->Connect( wxEVT_MIDDLE_DOWN, #handler, NULL, this );</template>
<template name="evt_entry_OnMiddleUp">@#error wxMouseEvent does not propagate, so wxEVT_MIDDLE_UP from $name can only be handled with Connect()</template>
<template name="evt_connect_OnMiddleUp">$name->Connect( wxEVT_MIDDLE_UP, #handler, NULL, this );</template>
<template name="evt_entry_OnRightDClick">@#error wxMouseEvent does not propagate, so wxEVT_RIGHT_DCLICK from $name can only be handled with Connect()</template>
<template name="evt_connect_OnRightDClick">$name->Connect( wxEVT_RIGHT_DCLICK, #handler, NULL, this );</template>
<template name="evt_entry_OnRightDown">@#error wxMouseEvent does not propagate, so wxEVT_RIGHT_DOWN from $name can only be handled with Connect()</template>
<template name="evt_connect_OnRightDown">$name->Connect( wxEVT_RIGHT_DOWN, #handler, NULL, this );</template>
<template name="evt_entry_OnRightUp">@#error wxMouseEvent does not propagate, so wxEVT_RIGHT_UP from $name can only be handled with Connect()</template>
<template name="evt_connect_OnRightUp">$name->Connect( wxEVT_RIGHT_UP, #handler, NULL, this );</template>
<template name="evt_entry_OnAux1DClick">@#error wxMouseEvent does not propagate, so wxEVT_AUX1_DCLICK from $name can only be handled with Connect()</template>
<template name="evt_connect_OnAux1DClick">$name->Connect( wxEVT_AUX1_DCLICK, #handler, NULL, this );</template>
<template name="evt_entry_OnAux1Down">@#error wxMouseEvent does not propagate, so wxEVT_AUX1_DOWN from $name can only be handled with Connect()</template>
<template name="evt_connect_OnAux1Down">$name->Connect( wxEVT_AUX1_DOWN, #handler, NULL, this );</template>
<template name="evt_entry_OnAux1Up">@#error wxMouseEvent does not propagate, so wxEVT_AUX1_UP from $name can only be handled with Connect()</template>
<template name="evt_connect_OnAux1Up">$name->Connect( wxEVT_AUX1_UP, #handler, NULL, this );</template>
<template name="evt_entry_OnAux2DClick">@#error wxMouseEvent does not propagate, so wxEVT_AUX2_DCLICK from $name can only be handled with Connect()</template>
<template name="evt_connect_OnAux2DClick">$name->Connect( wxEVT_AUX2_DCLICK, #handler, NULL, this );</template>
<template name="evt_entry_OnAux2Down">@#error wxMouseEvent does not propagate, so wxEVT_AUX2_DOWN from $name can only be handled with Connect()</template>
<template name="evt_connect_OnAux2Down">$name->Connect( wxEVT_AUX2_DOWN, #handler, NULL, this );</template>
<template name="evt_entry_OnAux2Up">@#error wxMouseEvent does not propagate, so wxEVT_AUX2_UP from $name can only be handled with Connect()</template>
<template name="evt_connect_OnAux2Up">$name->Connect( wxEVT_AUX2_UP, #handler, NULL, this );</template>
<template name="evt_entry_OnMotion">@#error wxMouseEvent does not propagate, so wxEVT_MOTION from $name can only be handled with Connect()</template>
<template name="evt_connect_OnMotion">$name->Connect( wxEVT_MOTION, #handler, NULL, this );</template>
<template name="evt_entry_OnMouseWheel">@#error wxMouseEvent does not propagate, so wxEVT_MOUSEWHEEL from $name can only be handled with Connect()</template>
<template name="evt_connect_OnMouseWheel">$name->Connect( wxEVT_MOUSEWHEEL, #handler, NULL, this );</template>
<template name="evt_entry_OnMouseEvents">@#error wxMouseEvent does not propagate, so Mouse Events from $name can only be handled with Connect()</template>
<template name="evt_connect_OnMouseEvents">
$name->Connect( wxEVT_LEFT_DOWN, #handler, NULL, this ); #nl
$name->Connect( wxEVT_LEFT_UP, #handler, NULL, this ); #nl
$name->Connect( wxEVT_MIDDLE_DOWN, #handler, NULL, this ); #nl
$name->Connect( wxEVT_MIDDLE_UP, #handler, NULL, this ); #nl
$name->Connect( wxEVT_RIGHT_DOWN, #handler, NULL, this ); #nl
$name->Connect( wxEVT_RIGHT_UP, #handler, NULL, this ); #nl
$name->Connect( wxEVT_AUX1_DOWN, #handler, NULL, this ); #nl
$name->Connect( wxEVT_AUX1_UP, #handler, NULL, this ); #nl
$name->Connect( wxEVT_AUX2_DOWN, #handler, NULL, this ); #nl
$name->Connect( wxEVT_AUX1_UP, #handler, NULL, this ); #nl
$name->Connect( wxEVT_MOTION, #handler, NULL, this ); #nl
$name->Connect( wxEVT_LEFT_DCLICK, #handler, NULL, this ); #nl
$name->Connect( wxEVT_MIDDLE_DCLICK, #handler, NULL, this ); #nl
$name->Connect( wxEVT_RIGHT_DCLICK, #handler, NULL, this ); #nl
$name->Connect( wxEVT_AUX1_DCLICK, #handler, NULL, this ); #nl
$name->Connect( wxEVT_AUX2_DCLICK, #handler, NULL, this ); #nl
$name->Connect( wxEVT_LEAVE_WINDOW, #handler, NULL, this ); #nl
$name->Connect( wxEVT_ENTER_WINDOW, #handler, NULL, this ); #nl
$name->Connect( wxEVT_MOUSEWHEEL, #handler, NULL, this );
</template>
<!-- wxFocusEvent -->
<template name="evt_entry_OnKillFocus">@#error wxFocusEvent does not propagate, so wxEVT_SET_FOCUS from $name can only be handled with Connect()</template>
<template name="evt_connect_OnKillFocus">$name->Connect( wxEVT_KILL_FOCUS, #handler, NULL, this );</template>
<template name="evt_entry_OnSetFocus">@#error wxFocusEvent does not propagate, so wxEVT_SET_FOCUS from $name can only be handled with Connect()</template>
<template name="evt_connect_OnSetFocus">$name->Connect( wxEVT_SET_FOCUS, #handler, NULL, this );</template>
<!-- wxDropFilesEvent -->
<template name="evt_entry_OnDropFiles">@#error wxDropFilesEvent does not propagate, so wxEVT_DROP_FILES from $name can only be handled with Connect()</template>
<template name="evt_connect_OnDropFiles">$name->Connect( wxEVT_DROP_FILES, #handler, NULL, this );</template>
<!-- wxPaintEvent -->
<template name="evt_entry_OnPaint">@#error wxPaintEvent does not propagate, so wxEVT_PAINT from $name can only be handled with Connect()</template>
<template name="evt_connect_OnPaint">$name->Connect( wxEVT_PAINT, #handler, NULL, this );</template>
<!-- wxEraseEvent -->
<template name="evt_entry_OnEraseBackground">@#error wxEraseEvent does not propagate, so wxEVT_ERASE_BACKGROUND from $name can only be handled with Connect()</template>
<template name="evt_connect_OnEraseBackground">$name->Connect( wxEVT_ERASE_BACKGROUND, #handler, NULL, this );</template>
<!-- wxSizeEvent -->
<template name="evt_entry_OnSize">@#error wxSizeEvent does not propagate, so wxEVT_SIZE from $name can only be handled with Connect()</template>
<template name="evt_connect_OnSize">$name->Connect( wxEVT_SIZE, #handler, NULL, this );</template>
<!-- wxMoveEvent -->
<template name="evt_entry_OnMove">@#error wxMoveEvent does not propagate, so wxEVT_MOVE from $name can only be handled with Connect()</template>
<template name="evt_connect_OnMove">$name->Connect( wxEVT_MOVE, #handler, NULL, this );</template>
<!-- wxUpdateUIEvent -->
<template name="evt_entry_OnUpdateUI">EVT_UPDATE_UI( $id, #handler )</template>
<template name="evt_connect_OnUpdateUI">$name->Connect( wxEVT_UPDATE_UI, #handler, NULL, this );</template>
</templates>
<templates class="AUI">
<template name="settings">
#ifparenttypeequal "form"
@{
#ifequal #parent $aui_managed "1"
@{
#iftypenotequal "toolbar"
@{
m_mgr.AddPane( $name, wxAuiPaneInfo()
#ifnotnull $aui_name @{.Name( $aui_name )@}.$docking()
#ifnotnull $caption @{.Caption( $caption )@}
#ifequal $caption_visible "0" @{.CaptionVisible( $caption_visible )@}
#ifequal $close_button "0" @{.CloseButton( $close_button )@}
#ifequal $maximize_button "1" @{.MaximizeButton( $maximize_button )@}
#ifequal $minimize_button "1" @{.MinimizeButton( $minimize_button )@}
#ifequal $pin_button "1" @{.PinButton( $pin_button )@}
#ifequal $pane_border "0" @{.PaneBorder( $pane_border )@}
#ifequal $gripper "1" @{.Gripper()@}
#ifequal $show "0" @{.Hide()@}
#ifequal $moveable "0" @{.Movable( $moveable )@}
#ifnotnull $dock @{.$dock()#ifequal $dock "Float" @{.FloatingPosition( $pane_position )@}@}
#ifnotnull $resize @{.$resize()#ifequal $resize "Resizable" @{.FloatingSize( $pane_size )@}@}
#ifequal $dock_fixed "1" @{.DockFixed( $dock_fixed )@}
#ifequal $BottomDockable "0" @{.BottomDockable( $BottomDockable )@}
#ifequal $TopDockable "0" @{.TopDockable( $TopDockable )@}
#ifequal $LeftDockable "0" @{.LeftDockable( $LeftDockable )@}
#ifequal $RightDockable "0" @{.RightDockable( $RightDockable )@}
#ifequal $floatable "0" @{.Floatable( $floatable )@}
#ifnotequal $aui_row "0" @{.Row( $aui_row )@}
#ifnotequal $aui_position "0" @{.Position( $aui_position )@}
#ifnotnull $best_size @{.BestSize( $best_size )@}
#ifnotnull $min_size @{.MinSize( $min_size )@}
#ifnotnull $max_size @{.MaxSize( $max_size )@}
#ifnotequal $aui_layer "0" @{.Layer( $aui_layer )@}
#ifequal $center_pane "1" @{.CentrePane()@}
#ifequal $default_pane "1" @{.DefaultPane()@}
#ifequal $toolbar_pane "1" @{.ToolbarPane()@}
); #nl
@}
@}
@}
</template>
</templates>
<templates class="Validator">
<template name="include">
#ifequal $validator_type "wxGenericValidator" @{ @#include <wx/valgen.h> #nl @}
#ifequal $validator_type "wxTextValidator" @{ @#include <wx/valtext.h> #nl @}
#ifequal $validator_data_type "wxArrayInt" @{ @#include <wx/dynarray.h> #nl @}
</template>
<template name="valvar_declaration">
#ifnotnull $validator_variable
@{ #ifnotnull $validator_data_type
@{ $validator_data_type@ $validator_variable; @} @}
</template>
<template name="settings">
#ifnotnull $validator_variable
@{ #ifnotnull $validator_data_type
@{ #ifequal $validator_type "wxGenericValidator" @{ $name->SetValidator( $validator_type( &$validator_variable ) ); #nl @}
#ifequal $validator_type "wxTextValidator" @{ $name->SetValidator( $validator_type( $validator_style, &$validator_variable ) ); #nl @}
@} @}
</template>
</templates>
<templates class="wxTreeCtrlBase">
<template name="evt_entry_OnTreeBeginDrag">EVT_TREE_BEGIN_DRAG( $id, #handler )</template>
<template name="evt_connect_OnTreeBeginDrag">$name->Connect( wxEVT_COMMAND_TREE_BEGIN_DRAG, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeBeginRDrag">EVT_TREE_BEGIN_RDRAG( $id, #handler )</template>
<template name="evt_connect_OnTreeBeginRDrag">$name->Connect( wxEVT_COMMAND_TREE_BEGIN_RDRAG, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeEndDrag">EVT_TREE_END_DRAG( $id, #handler )</template>
<template name="evt_connect_OnTreeEndDrag">$name->Connect( wxEVT_COMMAND_TREE_END_DRAG, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeBeginLabelEdit">EVT_TREE_BEGIN_LABEL_EDIT( $id, #handler )</template>
<template name="evt_connect_OnTreeBeginLabelEdit">$name->Connect( wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeEndLabelEdit">EVT_TREE_END_LABEL_EDIT( $id, #handler )</template>
<template name="evt_connect_OnTreeEndLabelEdit">$name->Connect( wxEVT_COMMAND_TREE_END_LABEL_EDIT, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeDeleteItem">EVT_TREE_DELETE_ITEM( $id, #handler )</template>
<template name="evt_connect_OnTreeDeleteItem">$name->Connect( wxEVT_COMMAND_TREE_DELETE_ITEM, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeItemActivated">EVT_TREE_ITEM_ACTIVATED( $id, #handler )</template>
<template name="evt_connect_OnTreeItemActivated">$name->Connect( wxEVT_COMMAND_TREE_ITEM_ACTIVATED, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeItemCollapsed">EVT_TREE_ITEM_COLLAPSED( $id, #handler )</template>
<template name="evt_connect_OnTreeItemCollapsed">$name->Connect( wxEVT_COMMAND_TREE_ITEM_COLLAPSED, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeItemCollapsing">EVT_TREE_ITEM_COLLAPSING( $id, #handler )</template>
<template name="evt_connect_OnTreeItemCollapsing">$name->Connect( wxEVT_COMMAND_TREE_ITEM_COLLAPSING, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeItemExpanded">EVT_TREE_ITEM_EXPANDED( $id, #handler )</template>
<template name="evt_connect_OnTreeItemExpanded">$name->Connect( wxEVT_COMMAND_TREE_ITEM_EXPANDED, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeItemExpanding">EVT_TREE_ITEM_EXPANDING( $id, #handler )</template>
<template name="evt_connect_OnTreeItemExpanding">$name->Connect( wxEVT_COMMAND_TREE_ITEM_EXPANDING, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeItemRightClick">EVT_TREE_ITEM_RIGHT_CLICK( $id, #handler )</template>
<template name="evt_connect_OnTreeItemRightClick">$name->Connect( wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeItemMiddleClick">EVT_TREE_ITEM_MIDDLE_CLICK( $id, #handler )</template>
<template name="evt_connect_OnTreeItemMiddleClick">$name->Connect( wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeSelChanged">EVT_TREE_SEL_CHANGED( $id, #handler )</template>
<template name="evt_connect_OnTreeSelChanged">$name->Connect( wxEVT_COMMAND_TREE_SEL_CHANGED, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeSelChanging">EVT_TREE_SEL_CHANGING( $id, #handler )</template>
<template name="evt_connect_OnTreeSelChanging">$name->Connect( wxEVT_COMMAND_TREE_SEL_CHANGING, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeKeyDown">EVT_TREE_KEY_DOWN( $id, #handler )</template>
<template name="evt_connect_OnTreeKeyDown">$name->Connect( wxEVT_COMMAND_TREE_KEY_DOWN, #handler, NULL, this );</template>
<template name="evt_entry_OnTreeItemMenu">EVT_TREE_ITEM_MENU( $id, #handler )</template>
<template name="evt_connect_OnTreeItemMenu">$name->Connect( wxEVT_COMMAND_TREE_ITEM_MENU, #handler, NULL, this );</template>
</templates>
<templates class="wxAnyButton">
<template name="settings">
#ifequal $markup "1" @{ $name->SetLabelMarkup( $label ); @}
#ifnotnull $bitmap @{ #nl $name->SetBitmap( $bitmap ); @}
#ifnotnull $disabled @{ #nl $name->SetBitmapDisabled( $disabled ); @}
#ifnotnull $pressed @{ #nl $name->SetBitmapPressed( $pressed ); @}
#ifnotnull $focus @{ #nl $name->SetBitmapFocus( $focus ); @}
#ifnotnull $current @{ #nl $name->SetBitmapCurrent( $current ); @}
#ifnotnull $position @{ #nl $name->SetBitmapPosition( $position ); @}
#ifnotnull $margins @{ #nl $name->SetBitmapMargins( $margins ); @}
</template>
</templates>
<templates class="UserClasses">
<template name="header_comment">
/** #nl
@@file #nl
Subclass of $basename, which is generated by wxFormBuilder. #nl
*/
</template>
<template name="event_handler_comment">
// Handlers for $basename events.
</template>
<template name="header_include">@#include "$gen_file.h"</template>
<template name="source_include">
#ifnotnull $cpp_precompiled_header
@{
$cpp_precompiled_header #nl
@}
@#include "$file.h"
</template>
<template name="class_decl">
/** Implementing $basename */ #nl
class $name : public $basename
</template>
<template name="guard_macro_open">
@#ifndef __$file #append __ #nl
@#define __$file #append __
</template>
<template name="guard_macro_close">@#endif // __$file #append __</template>
<template name="Frame_cons_decl">
/** Constructor */ #nl
$name( wxWindow* parent );
</template>
<template name="Frame_cons_def">
$name::$name( wxWindow* parent ) #nl #append : #nl$basename( parent )
</template>
<template name="Panel_cons_decl">
/** Constructor */ #nl
$name( wxWindow* parent );
</template>
<template name="Panel_cons_def">
$name::$name( wxWindow* parent ) #nl #append : #nl$basename( parent )
</template>
<template name="Dialog_cons_decl">
/** Constructor */ #nl
$name( wxWindow* parent );
</template>
<template name="Dialog_cons_def">
$name::$name( wxWindow* parent ) #nl #append : #nl$basename( parent )
</template>
<template name="Wizard_cons_decl">
/** Constructor */ #nl
$name( wxWindow* parent );
</template>
<template name="Wizard_cons_def">
$name::$name( wxWindow* parent ) #nl #append : #nl$basename( parent )
</template>
</templates>
</codegen>
|