X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3863c5ebd92650ba88f29db4f5f8d794ec11bf80..0e497a9db63c011d6a444f61291b670c382cd69b:/docs/doxygen/overviews/xrc.h diff --git a/docs/doxygen/overviews/xrc.h b/docs/doxygen/overviews/xrc.h index 56c8ad08c8..7b91f86468 100644 --- a/docs/doxygen/overviews/xrc.h +++ b/docs/doxygen/overviews/xrc.h @@ -6,9 +6,9 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -/*! +/** -@page overview_xrc XML Based Resource System +@page overview_xrc XML Based Resource System (XRC) Classes: wxXmlResource, wxXmlResourceHandler @@ -41,10 +41,10 @@ XRC was written by Vaclav Slavik. @li @ref overview_xrc_embeddedresource @li @ref overview_xrc_cppsample @li @ref overview_xrc_sample -@li @ref overview_xrc_fileformat @li @ref overview_xrc_cppheader @li @ref overview_xrc_newresourcehandlers +See also the separate @ref overview_xrcformat page for details about the XRC file format.
@@ -384,6 +384,7 @@ This is the XML file (resource.xrc) for the XRC sample. + 0 @@ -397,8 +398,14 @@ This is the XML file (resource.xrc) for the XRC sample. + 1 1 + + 16,16 + + + wxEXPAND @@ -444,12 +451,6 @@ This is the XML file (resource.xrc) for the XRC sample. @endcode -@section overview_xrc_fileformat XRC File Format - -Please see Technical Note 14 (docs/tech/tn0014.txt) in your wxWidgets -distribution. - - @section overview_xrc_cppheader C++ header file generation Using the @c -e switch together with @c -c, a C++ header file is written @@ -466,7 +467,7 @@ initialized. A simple example will help understand how the scheme works. Suppose you have a XRC file defining a top level window @c TestWnd_Base, which subclasses wxFrame -(any other class like @c wxDialog will do also), and has subwidgets wxTextCtrl A +(any other class like @c wxDialog will do also), and has subwidgets wxTextCtrl A and wxButton B. The XRC file and corresponding class definition in the header file will be @@ -624,7 +625,7 @@ wxObject *MyControlXmlHandler::DoCreateResource() // do most of your work. // If e.g. the MyControl::Create function looks like: // - // bool MyControl::Create(wxWindow *parent, int id, + // bool MyControl::Create(wxWindow *parent, int id, // const wxBitmap &first, const wxPoint &posFirst, // const wxBitmap &second, const wxPoint &posSecond, // const wxString &theTitle, const wxFont &titleFont,