<div dir="ltr">Hi all,<br>I'm facing a problem generating base classes using xrcise.<br><br>i've this xrc layout:<br><br><?xml version="1.0" encoding="UTF-8"?><br><resource version="<a href="http://2.3.0.1">2.3.0.1</a>" xmlns="<a href="http://www.wxwidgets.org/wxxrc">http://www.wxwidgets.org/wxxrc</a>"><br>
<object class="wxFrame" name="ID_NOTIFIER" subclass="notifier"><br> <style>wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxMINIMIZE_BOX|wxCLOSE_BOX|wxFULL_REPAINT_ON_RESIZE</style><br>
<size>300,400</size><br> <title>wxnc</title><br> <object class="wxMenuBar" name="ID_MENUBAR"><br> <object class="wxMenu"><br>
<label>File</label><br> <object class="wxMenuItem" name="ID_CONNETTI_MENU_ITEM"><br> <label>Connetti</label><br> </object><br>
<object class="separator"><br> </object><br> <object class="wxMenuItem" name="wxID_EXIT"><br> <label>Esci</label><br>
</object><br> </object><br> </object><br> <object class="wxNotebook" name="ID_NOTEBOOK" subclass="notebook"><br> <style>wxRAISED_BORDER</style><br>
<object class="notebookpage"><br> <label>Contatti</label><br> <object class="wxPanel" name="ID_FOLDER_CONTATTI" subclass="contatti"><br>
<style>wxSUNKEN_BORDER|wxTAB_TRAVERSAL</style><br> </object><br> </object><br> <object class="notebookpage"><br> <label>Configurazione</label><br>
<object class="wxPanel" name="ID_FOLDER_CONFIG" subclass="config"><br> <style>wxSUNKEN_BORDER|wxTAB_TRAVERSAL</style><br> </object><br>
</object><br> </object><br> </object><br></resource><br><br><br>..as the xrcise <a href="http://wxruby.rubyforge.org/wiki/wiki.pl?UsingXRCise">tutorial</a> say:<br><br>"
Note that whereas the "Class" field of top-level Frames, Dialogs and Panels will become Ruby <strong>classes</strong>, for the controls within a container, the "Class" field is the name of a Ruby <strong>module</strong> used to extend the control."<br>
<br>but no classes are generated for the two panels inside wxNotebook (contatti and config)<br><br>Is there any options to force panel class generation?<br><br>My platform is ubuntu 7.x - Ruby 1.8.5 - wxruby 1.9.7 - wx_sugar 0.1.20<br>
<br>thank you.<br><br>f.<br></div>