git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54465
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// don't delete logChain directly as this would leave a dangling
// pointer as active log target, use SetActiveTarget() instead
// 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}
@endcode
@library{wxbase}
{
public:
wxDDEModule() { }
{
public:
wxDDEModule() { }
- virtual bool OnInit() { wxDDEInitialize(); return @true; };
+ virtual bool OnInit() { wxDDEInitialize(); return true; };
virtual void OnExit() { wxDDECleanUp(); };
private:
virtual void OnExit() { wxDDECleanUp(); };
private:
bool MyPropertySheetDialog::Create(...)
{
if (!wxPropertySheetDialog::Create(...))
bool MyPropertySheetDialog::Create(...)
{
if (!wxPropertySheetDialog::Create(...))
CreateButtons(wxOK|wxCANCEL|wxHELP);
CreateButtons(wxOK|wxCANCEL|wxHELP);
GetBookCtrl()->AddPage(panel, wxT("General"));
LayoutDialog();
GetBookCtrl()->AddPage(panel, wxT("General"));
LayoutDialog();
{
wxLogError(_("Another program instance is already running, aborting."));
{
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;
}
... more initializations ...
}
... more initializations ...
{
wxSplashScreen* splash = new wxSplashScreen(bitmap,
wxSPLASH_CENTRE_ON_SCREEN|wxSPLASH_TIMEOUT,
{
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();
wxBORDER_SIMPLE|wxSTAY_ON_TOP);
}
wxYield();