XRC support for wxSashWindow

The following XRC code segment:

   <object class="wxSashWindow" name="ID_SASHWINDOW">
       <size>100,100</size>
       <style>wxSW_3DBORDER|wxSW_3DSASH|wxNO_BORDER</style>
   </object>

causes an error message:

   No handler found for XML node 'object', class 'wxSashWindow'!

when I was trying to load the object from xrc file.

Does this mean that till now wxSashWindow is still not supported by XRC?

I am using wxPython 2.5.3, python 2.3 on Windows XP.

···

--
HONG Yuan
Homemaster Trading Co., Ltd.
No. 601, Bldg. 41, 288 Shuangyang Rd. (N)
Shanghai 200433, P.R.C.
Tel: +86 21 55056553
Fax: +86 21 55067325
E-mail: hongyuan@homemaster.cn

Hong Yuan wrote:

The following XRC code segment:

  <object class="wxSashWindow" name="ID_SASHWINDOW">
      <size>100,100</size>
      <style>wxSW_3DBORDER|wxSW_3DSASH|wxNO_BORDER</style>
  </object>

causes an error message:

  No handler found for XML node 'object', class 'wxSashWindow'!

when I was trying to load the object from xrc file.

Does this mean that till now wxSashWindow is still not supported by XRC?

Yes, but you can probably create your own handler for it. See the demo for an example.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!