wxWidgets/include/wx/generic
Vadim Zeitlin 8cd79b7af0 Factor out text measurement from wxDC and wxWindow into wxTextMeasure.
Add a new private wxTextMeasure class implementing methods for measuring text
and move the often duplicated (but not always identically) code for doing the
same from wxDC and wxWindow into it.

Currently this class is only really implemented in wxMSW and wxGTK.

Also extend the test for text measuring functions and rename it to
MeasuringTextTestCase from MeasuringContextTestCase as it's not wxGC-specific
any more.

Closes #14705.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-10-17 22:35:49 +00:00
..
private Factor out text measurement from wxDC and wxWindow into wxTextMeasure. 2012-10-17 22:35:49 +00:00
aboutdlgg.h Destroy modeless wxGenericAboutDialog when it is closed. 2012-01-20 22:11:32 +00:00
accel.h
animate.h
bmpcbox.h
busyinfo.h
buttonbar.h
calctrlg.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
caret.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
choicdgg.h Make wxSingleChoiceDialog::GetSelectionData() const. 2012-02-20 21:56:18 +00:00
clrpickerg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
collpaneg.h Replace wxControlContainer-related macros with wxNavigationEnabled<>. 2011-07-24 22:19:33 +00:00
colour.h
colrdlgg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
combo.h Redone (generic) wxComboCtrl background painting and handling. The 'actual' wxWindow background colour is now largely ignored and overridden to refer the text-area's background colour instead (as is usually the case with controls like this). Base 'transparent' background is now only painted when double-buffered rendering is required, and otherwise delegated to the system, as appropriate. This should significantly improve control's appearance and compliancy with GTK+ and OS X themes and custom backgrounds. 2011-03-20 10:59:22 +00:00
ctrlsub.h
custombgwin.h Move SetBackgroundBitmap() from wxPanel to new wxCustomBackgroundWindow. 2011-10-11 17:07:43 +00:00
dataview.h wxDataViewCtrl: always update the header when col best width changes. 2012-04-30 09:33:30 +00:00
datectrl.h Fix unused parameter warning in wxOSX build. 2012-02-28 14:41:30 +00:00
dcpsg.h Adding wxDC::GetHandle for wxOSX-cocoa and wxOSX-carbon 2012-07-28 19:31:03 +00:00
dirctrlg.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
dirdlgg.h
dragimgg.h
dvrenderer.h Cleanup of wxDataViewCtrl cell activation code. 2011-10-19 16:20:17 +00:00
dvrenderers.h Cleanup of wxDataViewCtrl cell activation code. 2011-10-19 16:20:17 +00:00
fdrepdlg.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
filectrlg.h Derive wxGenericFileCtrl from wxControl. 2012-05-04 22:20:55 +00:00
filedlgg.h
filepickerg.h Simplify and correct setting of initial directory for wxFilePickerCtrl. 2012-09-09 13:34:49 +00:00
fontdlgg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
fontpickerg.h Move wxColourData and wxFontData into separate files. 2011-01-07 05:26:57 +00:00
fswatcher.h
grid.h Fix wxGrid editors background painting. 2012-10-17 16:44:02 +00:00
gridctrl.h Add support for custom numeric formats to wxGrid. 2011-11-28 13:23:33 +00:00
grideditors.h Fix wxGrid editors background painting. 2012-10-17 16:44:02 +00:00
gridsel.h
headerctrlg.h Move a couple standard virtuals to protected sections so they can be overridden in derived classes 2012-06-30 20:59:46 +00:00
helpext.h
hyperlink.h Generic wxHyperlinkCtrl appearance and behaviour improvements. 2011-06-15 21:56:23 +00:00
icon.h
imaglist.h
infobar.h
laywin.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
listctrl.h Use "true" by default in wxGenericListCtrl::EnableBellOnNoMatch(). 2012-10-11 12:41:07 +00:00
logg.h No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
mask.h
mdig.h
msgdlgg.h Add support for wxHELP button to wxMessageDialog. 2011-08-04 22:53:42 +00:00
notebook.h No changes, just use symbolic NO_IMAGE constant instead of -1 or wxNOT_FOUND. 2011-08-21 14:08:49 +00:00
notifmsg.h
numdlgg.h
paletteg.h
panelg.h fix tests for WXWIN_COMPATIBILITY_2_8, closes #13800 2011-12-23 05:59:59 +00:00
printps.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
prntdlgg.h Use wxPageSetupDialogData instead of old wxPageSetupData everywhere. 2012-02-20 21:55:55 +00:00
progdlgg.h Ensure that the progress dialog parent is activated at the end under MSW. 2012-02-05 14:18:25 +00:00
propdlg.h
region.h
richmsgdlgg.h
sashwin.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
scrolwin.h
spinctlg.h Add wxSpinCtrl::SetBase() to allow entering hexadecimal numbers. 2012-08-30 20:24:38 +00:00
splash.h Dismiss wxSplashScreen on any user input, not necessarily on splash itself. 2011-11-22 13:18:55 +00:00
splitter.h Added wxSplitterWindow::SetSashInvisible() and IsSashInvisible(). 2012-03-08 13:23:39 +00:00
srchctlg.h Clear the search control automatically when it's "Cancel" button is pressed. 2012-09-30 20:35:10 +00:00
statbmpg.h Replaced Ok() occurrences with IsOk() throughout trunk. 2011-05-03 16:29:04 +00:00
statline.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
stattextg.h Add markup support to generic wxStaticText implementation. 2011-02-27 12:48:38 +00:00
statusbr.h Update the field widths on demand in wxStatusBarGeneric. 2012-05-05 11:22:09 +00:00
tabg.h Do not put semicolons after the definition of an inline function. 2011-12-29 14:42:13 +00:00
textdlgg.h Add two step creation to wxTextEntryDialog. 2012-09-27 22:41:33 +00:00
timectrl.h Dirty hack to allow generic wxDatePickerCtrl to compile under MSW. 2011-10-20 16:45:48 +00:00
treectlg.h Add a possibility to beep on no match to wxGenericTreeCtrl. 2012-10-07 22:42:02 +00:00
wizard.h