wxWidgets/include/wx/gtk
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
..
gnome No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
hildon
private Make sorting of wxListBox, wxChoice and wxComboBox identical to the MSW sorting 2010-08-24 17:06:15 +00:00
accel.h
animate.h
app.h remove unused function GetGdkVisual() 2010-01-07 18:30:18 +00:00
assertdlg_gtk.h
bitmap.h Implement wxMask copy ctor for wxGTK. 2010-03-28 23:20:49 +00:00
bmpbuttn.h
bmpcbox.h
brush.h
button.h simplify Enable() 2009-12-05 19:25:04 +00:00
calctrl.h
checkbox.h remove unnecessary DoGetBestSize 2009-12-05 19:26:39 +00:00
checklst.h
chkconf.h
choice.h make wxChoice and wxComboBox sort in a case insensitive and locale adapted way, fixes #12351: Incorrect sort order in wxChoice / wxComboBox 2010-08-18 21:29:53 +00:00
clipbrd.h
clrpicker.h
collpane.h
colordlg.h
colour.h
combobox.h Ignore non-existant string selection in wxComboBox::SetValue() in read-only mode, as per the very exact docs, fixes #12329: wxComboBox can set non-existing string in read only mode 2010-08-16 17:48:28 +00:00
control.h
cursor.h
dataform.h
dataobj2.h
dataobj.h
dataview.h Postpone EnsureVisible() to idle as this sometimes seems to be required, fixes #12480: wxDataViewCtrl::EnsureVisible does not make item visible in some 2010-09-17 19:07:02 +00:00
dc.h
dcclient.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcmemory.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcscreen.h
dialog.h replace TRUE/FALSE with true/false 2009-10-09 17:39:19 +00:00
dirdlg.h
dnd.h Do earlier and better checking for matching actions and data format, hopefully fixes #11201 2009-11-15 13:39:05 +00:00
dvrenderer.h Second try to get wxDataViewChoiceByIndex and its name right, hopefully fixes #11970: wxDataViewChoiceRenderer set/get methods should use the current selection 2010-05-21 20:13:49 +00:00
dvrenderers.h Second try to get wxDataViewChoiceByIndex and its name right, hopefully fixes #11970: wxDataViewChoiceRenderer set/get methods should use the current selection 2010-05-21 20:13:49 +00:00
evtloop.h Refactor wxEventLoopSource-related code. 2009-10-22 11:36:35 +00:00
evtloopsrc.h no real change: just fix RCS-ID so that it reflects the current revision number 2010-04-25 21:33:16 +00:00
filectrl.h Add "filter changed" event to wxFileCtrl. 2010-05-29 10:35:47 +00:00
filedlg.h
filehistory.h Integrate with GNOME's Recent Documents menu. 2010-05-07 06:45:48 +00:00
filepicker.h Initialize picker style in native GTK file/dir pickers. 2010-03-16 00:23:57 +00:00
font.h Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
fontdlg.h
fontpicker.h
frame.h Applied patch #9058 (add Hildon 2.0 support) 2009-09-24 12:36:34 +00:00
gauge.h
glcanvas.h
hyperlink.h
infobar.h Move wxInfoBar to core library from adv. 2010-05-05 12:20:08 +00:00
listbox.h Use GTKXXX notation for some more wxGTK specific methods for consistency 2010-05-30 17:45:40 +00:00
mdi.h
menu.h Don't use invoking window in wxGTK wxMenuBar implementation. 2010-04-24 15:08:00 +00:00
menuitem.h
minifram.h
msgdlg.h Provide a task-dialog based wxMSW wxMessageDialog implementation. 2010-08-18 22:48:28 +00:00
notebook.h
pen.h
popupwin.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
print.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
private.h Remove unnecessary declarations. 2010-03-30 16:14:11 +00:00
radiobox.h
radiobut.h simplify Enable() 2009-12-05 19:25:04 +00:00
region.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
scrolbar.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
scrolwin.h
slider.h Implement wxSL_VALUE_LABEL and wxSL_MIN_MAX_LABELS for GTK+ 2009-11-14 10:58:31 +00:00
spinbutt.h simplify Enable() 2009-12-05 19:25:04 +00:00
spinctrl.h wxSpinCtrl values are always integral, they don't need to be rounded 2009-11-10 17:36:53 +00:00
statbmp.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
statbox.h minor cleanup 2009-12-05 19:57:58 +00:00
statline.h
stattext.h
taskbar.h
textctrl.h Applied patch, fixes #12090: wxGTK cursor handling revamp 2010-05-26 17:37:55 +00:00
textentry.h wxTextEntry::SetMargins(), GetMargins() - implemented on wxMSW and wxGTK (GTK+ 2.10+); also added similar functions into wxComboCtrl, deprecated old indent-functions; wxPropertyGrid modified to use the new functionality 2009-09-05 12:39:12 +00:00
tglbtn.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
toolbar.h Take into account the initial buttons state when creating wxGTK toolbar. 2009-12-26 16:36:39 +00:00
tooltip.h
toplevel.h make Set/GetLabel() set and return title in wxTLW, fixes #12371: Dialog::GetLabel() Inconsistent behaviour across operating systems 2010-08-21 09:53:25 +00:00
treeentry_gtk.h No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
window.h make Set/GetLabel() set and return something (albeit unused) as per the docs, fixes #12350: wxWindow Get/SetLabel non-functional in GTK 2010-08-21 09:54:30 +00:00