wxWidgets/include/wx/motif
Vadim Zeitlin b960795ea8 Add wxFontInfo class to allow using named parameters for wxFont creation.
This helper class allows to create wxFonts using shorter and more readable
code, e.g.

	wxFont font(12, wxFONTFLAG_DEFAULT,
		    wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, true,
		    "DejaVu Sans");

can now be written simply as

	wxFont font(wxFontInfo(12).FaceName("DejaVu Sans").Underlined());

Remove the ctor from font flags added in r70445 as it's not needed any longer
now that we have this one and adding it resulted in compilation errors in the
existing code which compiled with 2.8 because of ambiguities between that ctor
and wxFont(int size, int family, int style, int weight. bool underlined, ...)
one, e.g.

	wxFont(12, wxFONTFAMILY_SWISS, wxNORMAL, wxNORMAL)

didn't compile any more but it does compile again now.

See #9907.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-04-30 10:27:38 +00:00
..
private substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
accel.h Put storage class outside WXDLLIMPEXP_DATA_CORE() macros. 2011-02-22 13:25:51 +00:00
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
bmpbuttn.h preparation work for implementing images support in wxButton: move wxBitmapButton methods to the base class (enhancing/completing them in the process); there are no functionality changes yet (hopefully) 2009-06-14 22:55:24 +00:00
bmpmotif.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
button.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
checkbox.h Provide shorter synonyms for wxEVT_XXX constants. 2013-04-25 10:11:03 +00:00
checklst.h many wxItemContainer-related changes: 2007-07-26 13:54:14 +00:00
chkconf.h remove the long deprecated wxTabCtrl class 2008-12-27 14:58:12 +00:00
choice.h use wxArrayString instead of wxStringList 2009-01-07 17:29:38 +00:00
clipbrd.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
colour.h Do not put semicolons after the definition of an inline function. 2011-12-29 14:42:13 +00:00
combobox.h Do not put semicolons after the definition of an inline function. 2011-12-29 14:42:13 +00:00
control.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
ctrlsub.h add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros 2009-02-08 11:45:59 +00:00
cursor.h provide backward-compat wxCursor(int) ctor; remove empty stubs of XBM ctor from all ports except gtk,motif; make all ports emit wxLogError on invalid bitmap types; implement wxCursor(const wxString&, ...) ctor on GTK (not tested yet) 2008-09-25 17:56:07 +00:00
dataform.h use wxString, not wxChar*, in wxDataFormat ctor and SetId() method 2007-05-30 22:02:19 +00:00
dataobj2.h Minor header cleaning. 2006-07-25 14:31:55 +00:00
dataobj.h Nuke #pragma implementation/interface's 2005-09-23 12:56:45 +00:00
dc.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
dcclient.h use const arrays for wxDC array parameters, closes #10712 2013-01-18 17:27:51 +00:00
dcmemory.h wxMotif compilation fixes after wxDC changes 2007-12-15 00:06:08 +00:00
dcprint.h Make wxPORTRAIT and wxLANDSCAPE elements of wxPrintOrientation enum. 2009-12-08 16:35:47 +00:00
dcscreen.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
dialog.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
dnd.h Do not put semicolons after the definition of an inline function. 2011-12-29 14:42:13 +00:00
filedlg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
font.h Add wxFontInfo class to allow using named parameters for wxFont creation. 2013-04-30 10:27:38 +00:00
frame.h move SendSizeEvent() down to wxWindow from wxFrame; added SendSizeEventToParent() helper 2008-07-29 12:32:47 +00:00
gauge.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
icon.h fix overloaded virtual warning 2009-03-02 13:45:09 +00:00
listbox.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
menu.h Menu label consistency changes 2007-08-11 17:54:59 +00:00
menuitem.h don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither 2009-01-19 13:55:27 +00:00
minifram.h Replace wxTINY_CAPTION_{HORIZ,VERT} with a single wxTINY_CAPTION. 2010-05-10 21:09:57 +00:00
msgdlg.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
popupwin.h Nuke #pragma implementation/interface's 2005-09-23 12:56:45 +00:00
print.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
private.h suppress warning about implicit conversion of literal string XmSTRING_DEFAULT_CHARSET to non-const char * 2009-06-24 14:49:09 +00:00
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 substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
scrolbar.h No changes, synchronised source names that appear commented at the top of files with the actual path to the files. 2011-03-20 00:14:35 +00:00
setup0.h Add wxUSE_COMPILER_TLS to allow disabling compiler TLS support. 2012-06-17 21:34:47 +00:00
slider.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
spinbutt.h Do not put semicolons after the definition of an inline function. 2011-12-29 14:42:13 +00:00
statbmp.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
statbox.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
stattext.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
textctrl.h substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE 2008-03-26 15:06:00 +00:00
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 Provide shorter synonyms for wxEVT_XXX constants. 2013-04-25 10:11:03 +00:00
toolbar.h Make wxToolBar styles consistent and add wxTB_DEFAULT_STYLE. 2013-03-31 01:12:27 +00:00
toplevel.h make DoSetSizeHints protected, remove parameter defaults 2007-11-22 06:12:56 +00:00
window.h move default OnInternalIdle processing to wxWindowBase 2011-01-07 18:15:21 +00:00