wxWidgets/include/wx/os2
Vadim Zeitlin 59b7da02ff Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily().
Although returning wxFONTFAMILY_UNKNOWN when the font family is not recognized
makes more sense, it breaks a lot of existing code including all the
font-related code generated by DialogBlocks, so prefer to return
wxFONTFAMILY_DEFAULT instead -- which can't be confused for a valid font
family neither but can be passed to wxFont ctor or SetFamily() without
problems.

To ensure that this behaviour is correctly implemented by all ports, rename
the existing wxFont::GetFamily() to DoGetFamily() and call the new method from
wxFontBase::GetFamily() which adjusts the return value if needed.

Closes #12330.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-09-29 13:46:09 +00:00
..
private
accel.h
app.h second part of #10320: move wxApp event handling functions to wxEventLoopBase (in particular move Yield() functions); add backward compatible redirections to wxApp; update docs; remove global lists wxPendingEvents and wxPendingEventsLocker 2009-02-15 14:25:08 +00:00
apptbase.h Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
apptrait.h Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
bitmap.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
blank.ptr
bmpbuttn.h
brush.h
bullseye.ptr
button.h
cdrom.ico
checkbox.h
checklst.h
child.ico
chkconf.h
choice.h
clipbrd.h
clock.ptr
colour.h
colours.bmp
combobox.h added wxTextEntry::SetHint() (a.k.a. cue banner or placeholder string) 2009-03-02 12:25:01 +00:00
computer.ico
control.h
cross.bmp
csquery.bmp
cursor.h
dataform.h
dataobj2.h
dataobj.h
dc.h Cleanup of functions not taking any parameter. 2009-02-22 17:10:06 +00:00
dcclient.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
dcmemory.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcprint.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
dcscreen.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
dialog.h remove wxMSW-specific FindSuitableParent() and use GetParentForModalDialog() everywhere; extend it with additional checks and remove redundant ones elsewhere 2009-05-09 12:26:15 +00:00
dirdlg.h
disable.bmp
dnd.h
drive.ico
error.ico
file.ico
filedlg.h
floppy.ico
folder1.ico
folder2.ico
folder.ico
font.h Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
fontdlg.h
frame.h use wxSTB_ as prefix for wxStatusBar styles; add support for wxSTB_ELLIPSIZE_* flags under wxGTK; support wxSTB_SHOW_TIPS even if no ellipsization mode is active; update the sample to allow the user to choose the wxStatusBar style dynamically 2009-04-25 12:59:09 +00:00
gauge.h
gdiimage.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
hand.ptr
heart.ptr
helpwin.h
icon.h
info.ico
iniconf.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
joystick.h
listbox.h
listctrl.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros. 2010-06-09 13:55:48 +00:00
magnit1.ptr
mdi.h
menu.h
menuitem.h Refactor owner-drawing code. 2010-01-23 13:21:12 +00:00
metafile.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
mimetype.h get rid of wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes from old include files and from the docs. 2010-06-06 11:37:10 +00:00
minifram.h
msgdlg.h
notebook.h
ownerdrw.h Refactor owner-drawing code. 2010-01-23 13:21:12 +00:00
palette.h
pbrush.ptr
pen.h
pencil.ptr
pnghand.h
pngread.h
pntleft.ptr
pntright.ptr
popupwin.h
print.h
printos2.h
private.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
query.ptr
question.ico
radiobox.h use wxRA_SPECIFY_COLS/ROWS instead of old, deprecated and confusing wxRA_HORIZONTAL/VERTICAL 2009-06-03 22:33:32 +00:00
radiobut.h
region.h
removble.ico
roller.ptr
scrolbar.h
setup0.h Merge wxUIActionSimulator fixes from SOC2010_GUI_TEST branch. 2010-08-22 22:15:42 +00:00
size.ptr
slider.h
sound.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
spinbutt.h
spinctrl.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
statbmp.h
statbox.h
statline.h
stattext.h
stdpaths.h
textctrl.h
textentry.h added wxTextEntry::DoGetValue() to allow returning empty string if the control currently contains hint text 2009-03-02 13:31:29 +00:00
tglbtn.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
tick.bmp
tip.ico
tls.h Fix wxTlsValue<> memory leaks. 2010-03-08 12:21:58 +00:00
toolbar.h
tooltip.h
toplevel.h
treectrl.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros. 2010-06-09 13:55:48 +00:00
warning.ico
window.h add virtual DoGetTextExtent() to allow calling the overloaded wxWindowBase::GetTextExtent() on wxWindow objects without any ugly casts/scope resolution operators 2009-06-10 16:41:41 +00:00
wx.dlg
wx.rc
wx.res
wxrsc.h