don't use @true and @NULL inside of @code sections

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-07-02 14:45:57 +00:00
parent 1975440bf7
commit 6bfc18d016
5 changed files with 9 additions and 9 deletions

View File

@ -126,7 +126,7 @@ public:
// don't delete logChain directly as this would leave a dangling
// pointer as active log target, use SetActiveTarget() instead
delete wxLog::SetActiveTarget(...something else or @NULL...);
delete wxLog::SetActiveTarget(...something else or NULL...);
@endcode
@library{wxbase}

View File

@ -33,7 +33,7 @@
{
public:
wxDDEModule() { }
virtual bool OnInit() { wxDDEInitialize(); return @true; };
virtual bool OnInit() { wxDDEInitialize(); return true; };
virtual void OnExit() { wxDDECleanUp(); };
private:

View File

@ -74,7 +74,7 @@ enum wxPropertySheetDialogFlags
bool MyPropertySheetDialog::Create(...)
{
if (!wxPropertySheetDialog::Create(...))
return @false;
return false;
CreateButtons(wxOK|wxCANCEL|wxHELP);
@ -83,7 +83,7 @@ enum wxPropertySheetDialogFlags
GetBookCtrl()->AddPage(panel, wxT("General"));
LayoutDialog();
return @true;
return true;
}
@endcode

View File

@ -28,15 +28,15 @@
{
wxLogError(_("Another program instance is already running, aborting."));
delete m_checker; // OnExit() won't be called if we return @false
m_checker = @NULL;
delete m_checker; // OnExit() won't be called if we return false
m_checker = NULL;
return @false;
return false;
}
... more initializations ...
return @true;
return true;
}
int MyApp::OnExit()

View File

@ -23,7 +23,7 @@
{
wxSplashScreen* splash = new wxSplashScreen(bitmap,
wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
6000, @NULL, -1, wxDefaultPosition, wxDefaultSize,
6000, NULL, -1, wxDefaultPosition, wxDefaultSize,
wxBORDER_SIMPLE|wxSTAY_ON_TOP);
}
wxYield();