(1) Denis Pershin's patch for wxGTK (memory leaks corrections)
(2) DELETEP/DELETEA globally renamed to wxDELETE/wxDELETEA and now also NULL their argument git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -58,6 +58,16 @@ wxColour *g_systemBtnShadowColour = NULL;
|
||||
wxColour *g_systemBtnHighlightColour = NULL;
|
||||
wxColour *g_systemHighlightColour = NULL;
|
||||
|
||||
wxFont *g_systemFont = NULL;
|
||||
|
||||
void wxSystemSettings::Done() {
|
||||
wxDELETE(g_systemBtnFaceColour);
|
||||
wxDELETE(g_systemBtnShadowColour);
|
||||
wxDELETE(g_systemBtnHighlightColour);
|
||||
wxDELETE(g_systemHighlightColour);
|
||||
wxDELETE(g_systemFont);
|
||||
}
|
||||
|
||||
wxColour wxSystemSettings::GetSystemColour( int index )
|
||||
{
|
||||
switch (index)
|
||||
@@ -141,8 +151,6 @@ wxColour wxSystemSettings::GetSystemColour( int index )
|
||||
return *wxWHITE;
|
||||
};
|
||||
|
||||
wxFont *g_systemFont = NULL;
|
||||
|
||||
wxFont wxSystemSettings::GetSystemFont( int index )
|
||||
{
|
||||
switch (index)
|
||||
|
Reference in New Issue
Block a user