Fix some small errors that valgrind found
This commit is contained in:
parent
36cdf0e13d
commit
dc63304c69
|
@ -3197,7 +3197,7 @@ void MainFrame::set_global_accels()
|
||||||
// set the table on the panel, where focus usually is
|
// set the table on the panel, where focus usually is
|
||||||
// otherwise accelerators are lost sometimes
|
// otherwise accelerators are lost sometimes
|
||||||
panel->SetAcceleratorTable(atab);
|
panel->SetAcceleratorTable(atab);
|
||||||
delete tab;
|
delete[] tab;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -57,7 +57,7 @@ class MainFrame;
|
||||||
class wxvbamApp : public wxApp
|
class wxvbamApp : public wxApp
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxvbamApp() : wxApp(), pending_fullscreen(false) {}
|
wxvbamApp() : wxApp(), pending_fullscreen(false),cfg(NULL),overrides(NULL),frame(NULL) {}
|
||||||
virtual bool OnInit();
|
virtual bool OnInit();
|
||||||
virtual void OnInitCmdLine(wxCmdLineParser &);
|
virtual void OnInitCmdLine(wxCmdLineParser &);
|
||||||
virtual bool OnCmdLineParsed(wxCmdLineParser &);
|
virtual bool OnCmdLineParsed(wxCmdLineParser &);
|
||||||
|
|
Loading…
Reference in New Issue