Corrections to Forty Thieves; wxMemoryDC problem temporarily sorted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -110,7 +110,7 @@ const wxBrush& FortyApp::BackgroundBrush()
|
||||
{
|
||||
if (!m_backgroundBrush)
|
||||
{
|
||||
m_backgroundBrush = new wxBrush(*BackgroundColour(), wxSOLID);
|
||||
m_backgroundBrush = new wxBrush(BackgroundColour(), wxSOLID);
|
||||
}
|
||||
|
||||
return *m_backgroundBrush;
|
||||
@@ -132,10 +132,10 @@ FortyFrame::FortyFrame(wxFrame* frame, char* title, int x, int y, int w, int h):
|
||||
{
|
||||
// set the icon
|
||||
#ifdef __WXMSW__
|
||||
SetIcon(new wxIcon("CardsIcon"));
|
||||
SetIcon(wxIcon("CardsIcon"));
|
||||
#else
|
||||
#ifdef GTK_TBD
|
||||
SetIcon(new wxIcon(Cards_bits, Cards_width, Cards_height));
|
||||
SetIcon(wxIcon(Cards_bits, Cards_width, Cards_height));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user