Finished review/fixes of GDI category of functions and macros.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2008-03-20 06:00:05 +00:00
parent cb129171c2
commit a055a11641
4 changed files with 98 additions and 53 deletions

View File

@@ -326,12 +326,22 @@ public:
// Global functions/macros
// ============================================================================
/**
This macro creates either a cursor (MSW) or an icon (elsewhere) with the given
name. Under MSW, the cursor is loaded from the resource file and the icon is
loaded from XPM file under other platforms.
This macro should be used with
@ref wxDropSource::wxdropsource "wxDropSource constructor".
*/
#define wxIconOrCursor wxDROP_ICON(const char* name) /* implementation is private */
/** @ingroup group_funcmacro_gdi */
//@{
/**
This macro creates either a cursor (MSW) or an icon (elsewhere) with the
given @a name (of type <tt>const char*</tt>). Under MSW, the cursor is
loaded from the resource file and the icon is loaded from XPM file under
other platforms.
This macro should be used with wxDropSource::wxDropSource().
@returns wxCursor on MSW, otherwise returns a wxIcon
@header{wx/dnd.h}
*/
#define wxDROP_ICON(name)
//@}