and .dsp file updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4825
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
parser.y, and if necessary edit it to make it compile in the opposite
way to the current compilation.
parser.y, and if necessary edit it to make it compile in the opposite
way to the current compilation.
-To test out wxExpr compile the test program (samples/wxexpr/wxexpr.exe),
-and try loading test.exp into the test
-program. Then save it to another file. If the second is identical to the
-first, wxExpr is in a working state.
+%To test out wxExpr compile the test program (samples/wxexpr/wxexpr.exe),
+%and try loading test.exp into the test
+%program. Then save it to another file. If the second is identical to the
+%first, wxExpr is in a working state.
m_selectedInto = NULL;
m_numColors = 0;
m_bitmapMask = NULL;
m_selectedInto = NULL;
m_numColors = 0;
m_bitmapMask = NULL;
+ m_hBitmap = (WXHBITMAP) NULL;
}
void wxBitmapRefData::Free()
}
void wxBitmapRefData::Free()
if ( !CreateControl(parent, id, pos, size, style, validator, name) )
return FALSE;
if ( !CreateControl(parent, id, pos, size, style, validator, name) )
return FALSE;
+ // A choice/combobox normally has a white background (or other, depending
+ // on global settings) rather than inheriting the parent's background colour.
+ SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOW));
+
long msStyle = WS_CHILD | CBS_DROPDOWNLIST | WS_TABSTOP | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL;
if ( style & wxCB_SORT )
msStyle |= CBS_SORT;
long msStyle = WS_CHILD | CBS_DROPDOWNLIST | WS_TABSTOP | WS_VISIBLE | WS_HSCROLL | WS_VSCROLL;
if ( style & wxCB_SORT )
msStyle |= CBS_SORT;
SetName(name);
SetValidator(validator);
if (parent) parent->AddChild(this);
SetName(name);
SetValidator(validator);
if (parent) parent->AddChild(this);
- SetBackgroundColour(parent->GetBackgroundColour()) ;
+// SetBackgroundColour(parent->GetBackgroundColour()) ;
+
+ // A choice/combobox normally has a white background (or other, depending
+ // on global settings) rather than inheriting the parent's background colour.
+ SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_WINDOW));
+
SetForegroundColour(parent->GetForegroundColour()) ;
m_windowStyle = style;
SetForegroundColour(parent->GetForegroundColour()) ;
m_windowStyle = style;
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\msw\gdiimage.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\msw\gdiobj.cpp
# End Source File
# Begin Source File
SOURCE=.\msw\gdiobj.cpp
# End Source File
# Begin Source File
# End Source File
# Begin Source File
# End Source File
# Begin Source File
+SOURCE=.\msw\gdiimage.cpp
+# End Source File
+# Begin Source File
+
SOURCE=.\msw\gdiobj.cpp
# End Source File
# Begin Source File
SOURCE=.\msw\gdiobj.cpp
# End Source File
# Begin Source File