Don’t use void for functions without arguments

This commit is contained in:
Artur Wieczorek
2019-10-02 00:54:14 +02:00
parent 488582b04e
commit a771da5623
21 changed files with 83 additions and 83 deletions

View File

@@ -726,7 +726,7 @@ public:
@code
wxIMPLEMENT_ABSTRACT_CLASS(wxCommand, wxObject);
wxCommand::wxCommand(void)
wxCommand::wxCommand()
{
...
}
@@ -754,7 +754,7 @@ public:
@code
wxIMPLEMENT_DYNAMIC_CLASS(wxFrame, wxWindow);
wxFrame::wxFrame(void)
wxFrame::wxFrame()
{
...
}

View File

@@ -1782,7 +1782,7 @@ bool wxIsMainThread();
Typically, these functions are used like this:
@code
void MyThread::Foo(void)
void MyThread::Foo()
{
// before doing any GUI calls we must ensure that
// this thread is the only one doing it!