correct bad references and use of @begincode instead of @code (#9566)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -175,7 +175,7 @@ public:
|
|||||||
use Destroy() so that wxWidgets
|
use Destroy() so that wxWidgets
|
||||||
can delete a window only when it is safe to do so, in idle time.
|
can delete a window only when it is safe to do so, in idle time.
|
||||||
|
|
||||||
@see @ref overview_windowdeletionoverview "Window deletion overview",
|
@see @ref overview_windowdeletion "Window Deletion Overview",
|
||||||
Destroy(), wxCloseEvent
|
Destroy(), wxCloseEvent
|
||||||
*/
|
*/
|
||||||
~wxWindow();
|
~wxWindow();
|
||||||
@@ -376,7 +376,7 @@ public:
|
|||||||
windows (wxFrame and wxDialog classes) as the others
|
windows (wxFrame and wxDialog classes) as the others
|
||||||
are not supposed to have any special OnClose() logic.
|
are not supposed to have any special OnClose() logic.
|
||||||
|
|
||||||
@see @ref overview_windowdeletionoverview "Window deletion overview",
|
@see @ref overview_windowdeletion "Window Deletion Overview",
|
||||||
Destroy(), wxCloseEvent
|
Destroy(), wxCloseEvent
|
||||||
*/
|
*/
|
||||||
bool Close(bool force = false);
|
bool Close(bool force = false);
|
||||||
@@ -441,7 +441,7 @@ public:
|
|||||||
virtual void DestroyChildren();
|
virtual void DestroyChildren();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Disables the window, same as @ref enable() Enable(@false).
|
Disables the window. Same as @ref Enable() Enable(@false).
|
||||||
|
|
||||||
@return Returns @true if the window has been disabled, @false if it had
|
@return Returns @true if the window has been disabled, @false if it had
|
||||||
been already disabled before the call to this function.
|
been already disabled before the call to this function.
|
||||||
@@ -471,11 +471,8 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Does the window-specific updating after processing the update event.
|
Does the window-specific updating after processing the update event.
|
||||||
This function is called by UpdateWindowUI()
|
This function is called by UpdateWindowUI() in order to check return
|
||||||
in order to check return values in the wxUpdateUIEvent and
|
values in the wxUpdateUIEvent and act appropriately.
|
||||||
act appropriately. For example, to allow frame and dialog title updating,
|
|
||||||
wxWidgets
|
|
||||||
implements this function as follows:
|
|
||||||
*/
|
*/
|
||||||
virtual void DoUpdateWindowUI(wxUpdateUIEvent& event);
|
virtual void DoUpdateWindowUI(wxUpdateUIEvent& event);
|
||||||
|
|
||||||
@@ -579,7 +576,7 @@ public:
|
|||||||
is more precise as Fit() adds some margin to account for fuzziness of its calculations)
|
is more precise as Fit() adds some margin to account for fuzziness of its calculations)
|
||||||
to call:
|
to call:
|
||||||
|
|
||||||
@begincode
|
@code
|
||||||
window->SetClientSize(child->GetSize());
|
window->SetClientSize(child->GetSize());
|
||||||
@endcode
|
@endcode
|
||||||
|
|
||||||
@@ -799,7 +796,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Returns the associated drop target, which may be @NULL.
|
Returns the associated drop target, which may be @NULL.
|
||||||
|
|
||||||
@see SetDropTarget(), @ref overview_wxdndoverview
|
@see SetDropTarget(), @ref overview_dnd
|
||||||
*/
|
*/
|
||||||
wxDropTarget* GetDropTarget() const;
|
wxDropTarget* GetDropTarget() const;
|
||||||
|
|
||||||
@@ -1282,7 +1279,7 @@ public:
|
|||||||
window creation to intelligently set up the window visual attributes, that is
|
window creation to intelligently set up the window visual attributes, that is
|
||||||
the font and the foreground and background colours.
|
the font and the foreground and background colours.
|
||||||
By "intelligently" the following is meant: by default, all windows use their
|
By "intelligently" the following is meant: by default, all windows use their
|
||||||
own @ref getclassdefaultattributes() default attributes. However
|
own @ref GetClassDefaultAttributes() default attributes. However
|
||||||
if some of the parents attributes are explicitly (that is, using
|
if some of the parents attributes are explicitly (that is, using
|
||||||
SetFont() and not
|
SetFont() and not
|
||||||
wxWindow::SetOwnFont) changed and if the
|
wxWindow::SetOwnFont) changed and if the
|
||||||
@@ -1391,7 +1388,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Returns @true if this window is intrinsically enabled, @false otherwise,
|
Returns @true if this window is intrinsically enabled, @false otherwise,
|
||||||
i.e.
|
i.e.
|
||||||
if @ref enable() Enable(@false) had been called. This method is
|
if @ref Enable() Enable(@false) had been called. This method is
|
||||||
mostly used for wxWidgets itself, user code should normally use
|
mostly used for wxWidgets itself, user code should normally use
|
||||||
IsEnabled() instead.
|
IsEnabled() instead.
|
||||||
*/
|
*/
|
||||||
@@ -1507,7 +1504,7 @@ public:
|
|||||||
Create a new ID or range of IDs that are not currently in use. The
|
Create a new ID or range of IDs that are not currently in use. The
|
||||||
IDs will be reserved until assigned to a wxWindowIDRef()
|
IDs will be reserved until assigned to a wxWindowIDRef()
|
||||||
or unreserved with UnreserveControlId().
|
or unreserved with UnreserveControlId().
|
||||||
See @ref overview_windowidsoverview "Window IDs overview" for more information.
|
See @ref overview_windowids "Window IDs Overview" for more information.
|
||||||
|
|
||||||
@param count
|
@param count
|
||||||
The number of sequential IDs to reserve.
|
The number of sequential IDs to reserve.
|
||||||
@@ -1515,8 +1512,8 @@ public:
|
|||||||
@return Returns the ID or the first ID of the range, or wxID_NONE if the
|
@return Returns the ID or the first ID of the range, or wxID_NONE if the
|
||||||
specified number of identifiers couldn't be allocated.
|
specified number of identifiers couldn't be allocated.
|
||||||
|
|
||||||
@see UnreserveControlId(), wxIdManager, @ref overview_windowidsoverview
|
@see UnreserveControlId(), wxIdManager, @ref overview_windowids
|
||||||
"Window IDs overview"
|
"Window IDs Overview"
|
||||||
*/
|
*/
|
||||||
static wxWindowID NewControlId(int count = 1);
|
static wxWindowID NewControlId(int count = 1);
|
||||||
|
|
||||||
@@ -1930,7 +1927,7 @@ public:
|
|||||||
Associates a drop target with this window.
|
Associates a drop target with this window.
|
||||||
If the window already has a drop target, it is deleted.
|
If the window already has a drop target, it is deleted.
|
||||||
|
|
||||||
@see GetDropTarget(), @ref overview_wxdndoverview
|
@see GetDropTarget(), @ref overview_dnd
|
||||||
*/
|
*/
|
||||||
void SetDropTarget(wxDropTarget* target);
|
void SetDropTarget(wxDropTarget* target);
|
||||||
|
|
||||||
@@ -1969,7 +1966,7 @@ public:
|
|||||||
for them is found. Using this style allows to prevent them from being
|
for them is found. Using this style allows to prevent them from being
|
||||||
propagated beyond this window. Notice that wxDialog has this style on by
|
propagated beyond this window. Notice that wxDialog has this style on by
|
||||||
default for the reasons explained in the
|
default for the reasons explained in the
|
||||||
@ref overview_eventprocessing "event processing overview".
|
@ref overview_eventhandling "Event Handling Overview".
|
||||||
|
|
||||||
@b wxWS_EX_TRANSIENT
|
@b wxWS_EX_TRANSIENT
|
||||||
|
|
||||||
@@ -2324,9 +2321,7 @@ public:
|
|||||||
@param deleteOld
|
@param deleteOld
|
||||||
If @true (the default), this will delete any pre-existing sizer.
|
If @true (the default), this will delete any pre-existing sizer.
|
||||||
Pass @false if you wish to handle deleting the old sizer yourself.
|
Pass @false if you wish to handle deleting the old sizer yourself.
|
||||||
|
@remarks SetSizer enables and disables Layout automatically.
|
||||||
@remarks SetSizer now enables and disables Layout automatically, but
|
|
||||||
prior to wxWidgets 2.3.3 the following applied:
|
|
||||||
*/
|
*/
|
||||||
void SetSizer(wxSizer* sizer, bool deleteOld = true);
|
void SetSizer(wxSizer* sizer, bool deleteOld = true);
|
||||||
|
|
||||||
@@ -2527,15 +2522,15 @@ public:
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
Unreserve an ID or range of IDs that was reserved by NewControlId().
|
Unreserve an ID or range of IDs that was reserved by NewControlId().
|
||||||
See @ref overview_windowidsoverview "Window IDs overview" for more information.
|
See @ref overview_windowids "Window IDs Overview" for more information.
|
||||||
|
|
||||||
@param id
|
@param id
|
||||||
The starting ID of the range of IDs to unreserve.
|
The starting ID of the range of IDs to unreserve.
|
||||||
@param count
|
@param count
|
||||||
The number of sequential IDs to unreserve.
|
The number of sequential IDs to unreserve.
|
||||||
|
|
||||||
@see NewControlId(), wxIdManager, @ref overview_windowidsoverview
|
@see NewControlId(), wxIdManager, @ref overview_windowids
|
||||||
"Window IDs overview"
|
"Window IDs Overview"
|
||||||
*/
|
*/
|
||||||
static void UnreserveControlId(wxWindowID id, int count = 1);
|
static void UnreserveControlId(wxWindowID id, int count = 1);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user