Applied patch [ 602924 ] colours and effects in wxMSW::wxFontDialog

wxFontDialog effects only turned on if a valid colour was
provided in wxFontData


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-09-02 08:52:34 +00:00
parent b814b81248
commit 1d7609197e
2 changed files with 5 additions and 4 deletions

View File

@@ -49,9 +49,6 @@ wxBase:
must modify YourApp::OnAssert() signature if you were using it to override
the default assert handling.
- IPC classes improved and memory leaks fixed (Michael Fielding).
Global buffer removed, duplication in docs removed.
All (GUI):
! the event type constants are not constants any more but are dynamically
@@ -193,6 +190,8 @@ wxBase:
deprecated)
- added wxShutdown() function (Marco Cavallini)
- added wxEXPLICIT macro
- IPC classes improved and memory leaks fixed (Michael Fielding).
Global buffer removed, duplication in docs removed
Unix (Base/GUI):
@@ -279,6 +278,8 @@ wxMSW:
- fixed a condition where a thread can hang during message/event processing
- increased space between wxRadioBox label and first radio button
- don't fail to register remaining window classes if one fails to register
- wxFontDialog effects only turned on if a valid colour was
provided in wxFontData
wxGTK:

View File

@@ -158,7 +158,7 @@ void wxColourData::operator=(const wxColourData& data)
wxFontData::wxFontData()
{
// Intialize colour to black.
fontColour.Set(0, 0, 0);
fontColour = wxNullColour;
showHelp = FALSE;
allowSymbols = TRUE;