autodoc docstring fixes and such

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-12-19 04:45:35 +00:00
parent b0640a71ca
commit 64e8a1f072
9 changed files with 63 additions and 46 deletions

View File

@@ -195,6 +195,33 @@ typedef unsigned char byte;
}
%enddef
//---------------------------------------------------------------------------
// Forward declarations and %renames for some classes, so the autodoc strings
// will be able to use the right types even when the real class declaration is
// not in the module being processed.
#ifdef BUILDING_RENAMERS
#define FORWARD_DECLARE(wxName, Name)
#else
%define FORWARD_DECLARE(wxName, Name)
%rename(Name) wxName;
class wxName;
%enddef
#endif
FORWARD_DECLARE(wxString, String);
FORWARD_DECLARE(wxBitmap, Bitmap);
FORWARD_DECLARE(wxDateTime, DateTime);
FORWARD_DECLARE(wxInputStream, InputStream);
FORWARD_DECLARE(wxDC, DC);
FORWARD_DECLARE(wxCursor, Cursor);
FORWARD_DECLARE(wxRegion, Region);
FORWARD_DECLARE(wxColour, Colour);
FORWARD_DECLARE(wxFont, Font);
FORWARD_DECLARE(wxCaret, Caret);
FORWARD_DECLARE(wxToolTip, ToolTip);
FORWARD_DECLARE(wxPyDropTarget, PyDropTarget);
//---------------------------------------------------------------------------
// General numeric #define's and etc. Making them all enums makes SWIG use the
@@ -833,6 +860,7 @@ enum wxItemKind
wxITEM_MAX
};
enum wxHitTest
{
wxHT_NOWHERE,