// 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}
{
public:
wxDDEModule() { }
- virtual bool OnInit() { wxDDEInitialize(); return @true; };
+ virtual bool OnInit() { wxDDEInitialize(); return true; };
virtual void OnExit() { wxDDECleanUp(); };
private:
bool MyPropertySheetDialog::Create(...)
{
if (!wxPropertySheetDialog::Create(...))
- return @false;
+ return false;
CreateButtons(wxOK|wxCANCEL|wxHELP);
GetBookCtrl()->AddPage(panel, wxT("General"));
LayoutDialog();
- return @true;
+ return true;
}
@endcode
{
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()
{
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();