Code clanup: removed some useless/unused member
variables/functions from wxWindow; used wxTranslateMouseEvent instead of duplicating its functionality. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -445,11 +445,11 @@ void wxDialog::ChangeFont(bool keepOriginalSize)
|
||||
void wxDialog::ChangeBackgroundColour()
|
||||
{
|
||||
if (GetMainWidget())
|
||||
DoChangeBackgroundColour(GetMainWidget(), m_backgroundColour);
|
||||
wxDoChangeBackgroundColour(GetMainWidget(), m_backgroundColour);
|
||||
}
|
||||
|
||||
void wxDialog::ChangeForegroundColour()
|
||||
{
|
||||
if (GetMainWidget())
|
||||
DoChangeForegroundColour(GetMainWidget(), m_foregroundColour);
|
||||
wxDoChangeForegroundColour(GetMainWidget(), m_foregroundColour);
|
||||
}
|
||||
|
Reference in New Issue
Block a user