wxWidgets/interface/wx
Vadim Zeitlin d97c055514 Introduce platform-dependent wxTLWGeometry class
Previously, TLW geometry was implicitly defined as just its position,
size and the maximized/iconized state by wxPersistentTLW code. This
already wasn't enough for wxGTK which added the decoration sizes to the
geometry being saved/restored, but this had to be done using conditional
compilation, which was not ideal. And it didn't allow using an entirely
different geometry representation as will be done for wxMSW soon.

Change the code to use wxTLWGeometry class defining the geometry, as
used by the current port, explicitly and move wxPersistentTLW logic into
it, as wxPersistentXXX classes are supposed to be very simple, which
wasn't really the case.

Also provide public SaveGeometry() and RestoreToGeometry() methods in
wxTopLevelWindow, which can be useful even to people not using
wxPersistentTLW for whatever reason.

There should be no changes in behaviour so far.
2018-04-29 19:51:10 +02:00
..
aui Minor cleanup and changes from Code Review comments. 2018-02-10 15:13:01 -08:00
generic Update year in copyright notices to 2018 2018-01-05 19:51:47 +01:00
html Add missing FindCellByPos 2017-08-29 18:11:56 -07:00
msw Fix few minor issues in wxAutomationObject documentation 2017-11-09 22:18:57 +01:00
persist Add documentation for wxPersistentDataViewCtrl 2017-12-15 14:10:16 +01:00
propgrid Lots more fixes for incorrect or missing interfaces items. 2018-02-10 13:06:19 -08:00
protocol
ribbon Add missing parameter name 2016-10-21 16:54:30 -07:00
richtext Lots more fixes for incorrect or missing interfaces items. 2018-02-10 13:06:19 -08:00
stc Add Direct2D support to wxSTC 2018-01-25 16:07:54 -06:00
xml Add "@since" tags to the newly added wxXmlDocument methods 2017-05-30 19:40:09 +02:00
xrc Remove trailing whitespace from several files 2018-04-18 15:45:42 +02:00
aboutdlg.h Update year in copyright notices to 2018 2018-01-05 19:51:47 +01:00
accel.h
access.h Update documentation 2016-10-09 14:03:20 +02:00
activityindicator.h Add wxActivityIndicator control. 2015-03-20 00:08:37 +01:00
addremovectrl.h Fix Wrong method name in wxAddRemoveCtrl documentation 2018-02-26 13:19:04 +01:00
affinematrix2d.h
affinematrix2dbase.h
animate.h
any.h Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
anybutton.h
app.h Escape double dashes in Doxygen input to preserve them 2016-10-20 21:47:37 +02:00
appprogress.h Convert a few files from DOS to Unix EOLs. 2015-03-19 21:45:38 +01:00
apptrait.h Add micro version to toolkit version functions 2016-02-29 10:05:43 +01:00
archive.h
arrstr.h Add wxDictionaryStringSortAscending comparison function. 2014-06-23 12:02:09 +00:00
artprov.h Fix typo 2016-10-21 16:54:33 -07:00
atomic.h
bannerwindow.h
base64.h Remove copy-paste error in wxBase64Encode() documentation 2016-02-23 17:17:30 +01:00
bitmap.h Document wxBitmap::CreateScaled() and wxBitmap::Create() overload. 2016-01-05 15:13:26 +01:00
bmpbuttn.h
bmpcbox.h
bookctrl.h Fix setting wxBK_HITTEST_xxx flags in wxNotebook::HitTest 2016-01-31 03:06:33 +01:00
brush.h
buffer.h Document wxScopedCharTypeBuffer::release(). 2014-10-23 13:56:04 +00:00
busyinfo.h Fixed a few Doxygen syntax errors. 2015-10-31 14:37:10 -06:00
button.h Restore wxButton's feature to use focus bitmap for hover state (wxMSW) 2017-09-06 14:10:46 +02:00
calctrl.h Automatically determine the first weekday for a calendar control 2017-09-02 17:02:35 +03:00
caret.h
chartype.h
checkbox.h Add support for right-aligned checkboxes to wxOSX 2016-02-27 16:32:37 +01:00
checklst.h
choicdlg.h Remove wrong MSW notes from wx*ChoiceDialog documentation 2017-03-25 03:22:17 +01:00
choice.h
choicebk.h Fix wxCHB_DEFAULT description in documentation 2015-09-29 00:59:32 +02:00
clipbrd.h Document wxClipboard::AddData() as synonym for SetData() 2018-01-02 17:06:58 +01:00
clntdata.h
clrpicker.h Enable selecting opacity in generic wxColourPicker 2017-07-03 22:48:30 +02:00
cmdline.h Remove trailing whitespace from several files 2018-04-18 15:45:42 +02:00
cmdproc.h
cmndata.h Document wxPrintData::SetPaperSize(). 2015-06-21 02:24:50 +02:00
collheaderctrl.h Fix typos in comments in C++ code 2016-04-12 17:15:23 +02:00
collpane.h
colordlg.h
colour.h
colourdata.h Allow turning on/off opacity selector in wxColourDialog (wxOSX) 2017-07-03 22:48:04 +02:00
combo.h Fix LaTeX docs for PDF manual. 2015-02-06 01:51:27 +00:00
combobox.h Document wxComboBox::SetValue() better in wxCB_READONLY case 2017-11-25 10:47:50 +01:00
commandlinkbutton.h
config.h Fix wxConfig enumeration example in the documentation. 2014-11-16 21:20:34 +00:00
containr.h
control.h Handle wxELLIPSIZE_NONE gracefully in wxControl::Ellipsize() 2015-12-03 17:10:25 +01:00
convauto.h
cpp.h
cshelp.h Don't use wxWindowBase in the interface headers 2016-05-05 02:59:43 +02:00
ctrlsub.h Don't over promise in wxItemContainer documentation 2017-01-14 00:25:35 +01:00
cursor.h Add wxCursor::GetHotSpot() and implement it for wxMSW and wxGTK. 2014-11-11 01:02:50 +00:00
custombgwin.h
dataobj.h Fix wxURLDataObject comment and documentation for wxGTK 2017-12-08 13:14:19 +01:00
dataview.h Fix unreadable example in wxDataViewValueAdjuster documentation 2018-02-18 22:47:46 +01:00
datectrl.h Document and test wxDatePickerCtrl::SetRange() date-clamping behaviour. 2015-07-17 17:59:40 +02:00
dateevt.h
datetime.h Disable wxDateTime tests failing due to TZ offset changes 2017-11-30 17:44:41 +01:00
datstrm.h
dc.h Document the new wxDCClipper behaviour after last commit change 2017-12-24 15:46:57 +01:00
dcbuffer.h
dcclient.h
dcgraph.h Change current font only if new graphics font is successfully created 2017-04-17 18:57:31 +02:00
dcmemory.h
dcmirror.h
dcprint.h
dcps.h Optimize selecting font in generated PostScript code 2017-03-04 19:07:04 +01:00
dcscreen.h Document that wxScreenDC corresponds to the entire virtual screen 2016-03-28 21:41:10 +02:00
dcsvg.h Allow to set the SVG title when creating a wxSVGFileDC. 2016-06-12 15:59:28 +02:00
dde.h
debug.h Remove Windows CE support 2015-09-23 00:52:30 +02:00
debugrpt.h
defs.h Replace wxEXPLICIT with the 'explicit' keyword 2016-09-14 18:45:12 +09:00
dialog.h Improve documentation of CreateTextSizer() widthMax argument 2016-12-01 14:54:08 +01:00
dialup.h
dir.h Declare wxInvalidSize also in wx/dir.h 2017-11-21 13:49:21 +01:00
dirctrl.h remove const from pass-by-value parameters 2016-01-16 10:55:01 -08:00
dirdlg.h Remove obsolete symbols and platforms from the documentation 2015-12-03 22:05:55 +01:00
display.h
dnd.h
docmdi.h
docview.h Check for view presence in wxDocument::RemoveView() 2017-06-20 15:32:00 +02:00
dragimag.h
dynarray.h Document "expmode" argument of exported array macros 2015-09-19 19:56:41 +02:00
dynlib.h Document wxDynamicLibrary::GetDllExt() method 2016-04-18 00:15:47 +02:00
editlbox.h
encconv.h Remove wxPM, wxWidgets port to OS/2. 2014-05-15 23:56:58 +00:00
event.h Lots more fixes for incorrect or missing interfaces items. 2018-02-10 13:06:19 -08:00
eventfilter.h
evtloop.h Remove obsolete symbols and platforms from the documentation 2015-12-03 22:05:55 +01:00
fdrepdlg.h
ffile.h Don't crash in wxFFile::Eof() and Error() if file is closed 2017-04-01 18:43:13 +02:00
file.h Remove st_blocks hack from wxFile::Length() under Linux 2017-12-15 18:46:22 +01:00
fileconf.h
filectrl.h Improve wxFileCtrl::SetFilename() and SetPath() consistency. 2015-05-09 19:05:05 +02:00
filedlg.h Fix wxFileDialog::SetExtraControlCreator() supported platforms 2017-11-02 14:55:54 +01:00
filefn.h Use more descriptive argument names for wxCopyFile() and others 2016-11-21 18:22:22 +01:00
filehistory.h
filename.h Remove wxOSX/Carbon only wxFileName methods from docs. 2016-02-23 13:15:07 +01:00
filepicker.h Improve documentation of pickers MUST_EXIST styles 2016-06-09 17:03:51 +02:00
filesys.h
font.h Add FindOrCreateFont overload accepting wxFontInfo 2017-11-25 17:52:03 +01:00
fontdata.h
fontdlg.h
fontenum.h Add wxFontEnumerator::InvalidateCache() 2017-11-13 22:29:29 +01:00
fontmap.h
fontpicker.h Add wxFontPickerCtrl::SetMinPointSize() 2017-10-21 22:10:35 +02:00
fontutil.h
frame.h Drop Mac prefix on remaining instances of OS X in docs. 2016-02-23 13:05:44 +01:00
fs_arc.h
fs_filter.h
fs_inet.h
fs_mem.h Add missing methods 2016-10-21 16:54:35 -07:00
fswatcher.h Document that wxFileSystemWatcher requires a running event loop 2016-05-18 14:51:31 +02:00
gauge.h Remove all mentions of wxGauge shadow width and bezel face. 2015-04-20 18:46:55 +02:00
gbsizer.h
gdicmn.h Change wxSize::Scale() to take double, not float 2018-03-06 16:01:45 +01:00
gdiobj.h
geometry.h Remove the never implemented wxPoint2D::SetPolarCoordinates(). 2015-07-09 14:38:49 +02:00
glcanvas.h Improve new wxGLCanvas compatibility with old hardware and code 2017-01-16 03:25:49 +01:00
graphics.h Lots more fixes for incorrect or missing interfaces items. 2018-02-10 13:06:19 -08:00
grid.h Minor cleanup and changes from Code Review comments. 2018-02-10 15:13:01 -08:00
hash.h
hashmap.h Escape double dashes in Doxygen input to preserve them 2016-10-20 21:47:37 +02:00
hashset.h Escape double dashes in Doxygen input to preserve them 2016-10-20 21:47:37 +02:00
headercol.h
headerctrl.h Add wxHD_BITMAP_ON_RIGHT style to wxHeaderCtrl 2018-02-04 00:14:28 +01:00
help.h Don't document obsolete wxHelpController::Initialize() overload 2016-06-13 15:16:22 +02:00
htmllbox.h Document wxHLB_XXX constants for wxHtmlListBox styles 2016-09-09 23:44:10 +02:00
hyperlink.h Update outdated references to WinXP in documentation. 2015-10-08 10:45:51 +02:00
icon.h
iconbndl.h Minor whitespace/style fixes 2017-05-20 17:01:58 +02:00
iconloc.h
image.h Add wxIMAGE_OPTION_GIF_TRANSPARENCY for GIF image loading 2018-02-16 16:28:33 +01:00
imaggif.h Change return statement to be consistent with parent class's SaveFile 2017-06-25 15:05:31 -07:00
imagiff.h Tidying up. 2017-06-25 14:21:40 -07:00
imagjpeg.h Tidying up. 2017-06-25 14:21:40 -07:00
imaglist.h Added wxImageList::GetSize to retrieve the size originally passed 2015-12-13 19:17:40 +00:00
imagpcx.h Tidying up. 2017-06-25 14:21:40 -07:00
imagpng.h Tidying up. 2017-06-25 14:21:40 -07:00
imagpnm.h Tidying up. 2017-06-25 14:21:40 -07:00
imagtga.h Tidying up. 2017-06-25 14:21:40 -07:00
imagtiff.h Tidying up. 2017-06-25 14:21:40 -07:00
imagxpm.h Document remaining image handlers 2017-06-24 11:04:47 -07:00
infobar.h Don't characterize GTK+ 2.18 as being "recent" in the documentation 2016-03-28 21:30:57 +02:00
init.h Remove Windows CE support 2015-09-23 00:52:30 +02:00
intl.h Add missing wxGetLocale 2017-10-18 18:14:43 -07:00
ipc.h
ipcbase.h
itemattr.h Add equality operators to wxItemAttr 2016-04-17 17:36:20 +02:00
joystick.h
kbdstate.h
language.h
layout.h
laywin.h
link.h
list.h
listbook.h
listbox.h Document listbox item activation on Enter in wxGTK 2018-01-30 23:10:20 +01:00
listctrl.h Fix typo in EVT_LIST_BEGIN_LABEL_EDIT in the documentation 2018-01-21 16:23:15 +01:00
log.h Allow specifying character set for wxLogStderr and wxLogStream. 2017-11-04 15:47:18 +02:00
longlong.h Document that wxLongLong is obsolete nowadays 2016-05-20 02:43:28 +02:00
lzmastream.h Document how to build wxWidgets with liblzma support 2018-04-06 15:39:55 +02:00
math.h Add wxGCD() helper function. 2014-08-07 21:03:25 +00:00
mdi.h
mediactrl.h Fix parameter names in wxMediaCtrl::Load* methods 2016-10-21 16:54:26 -07:00
memory.h
menu.h Update wxMenu::UpdateUI() parameter comment and documentation 2016-01-30 21:39:09 +01:00
menuitem.h Document all the strings supported as menu accelerators 2016-08-10 22:58:14 +02:00
metafile.h
mimetype.h Fix typos in comments in C++ code 2016-04-12 17:15:23 +02:00
minifram.h
modalhook.h
module.h Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mousemanager.h
mousestate.h fix SetPosition() parameter in documentation 2017-11-12 09:36:33 -08:00
msgdlg.h Remove wxOSX/Carbon support. 2016-02-01 13:48:48 +01:00
msgout.h
msgqueue.h
mstream.h
nativewin.h Fix wxNativeWindow::Create() documentation 2016-03-02 23:33:01 +01:00
nonownedwnd.h
notebook.h Remove obsolete symbols and platforms from the documentation 2015-12-03 22:05:55 +01:00
notifmsg.h Add wx prefix in wxNotificationMessage event docs. 2016-02-23 11:36:37 +01:00
numdlg.h Add missing documentation for wxNumberEntryDialog 2018-04-25 18:26:27 +02:00
numformatter.h
object.h Fix wxIMPLEMENT_CLASS documentation 2017-08-25 13:17:12 +02:00
odcombo.h Define unambiguous Is{List,Text}Empty() in wxOwnerDrawnComboBox. 2014-10-13 12:08:10 +00:00
overlay.h
palette.h
panel.h
pen.h Lots more fixes for incorrect or missing interfaces items. 2018-02-10 13:06:19 -08:00
persist.h Merge branch 'dvc-persist' from iwbnwif 2017-12-15 14:10:01 +01:00
pickerbase.h Replace wx_static_cast/wx_const_cast/wx_reinterpret_cast with the function-style casts 2016-09-14 18:45:12 +09:00
platform.h
platinfo.h Merge support for OS and toolkit micro versions 2016-03-03 23:32:44 +01:00
popupwin.h
position.h
power.h Implemented wxPOWER_RESOURCE_SCREEN for OS X versions < 10.9 2015-07-22 14:36:26 +02:00
preferences.h Fix some typos, no code changes (besides strings) 2015-06-05 02:54:46 +04:00
print.h Drop Mac prefix on remaining instances of OS X in docs. 2016-02-23 13:05:44 +01:00
printdlg.h
process.h Add wxProcess::Activate() and implement it for MSW. 2015-03-10 20:31:24 +01:00
progdlg.h Add a hint about making wxProgressDialog initially wide enough 2017-11-16 23:52:36 +01:00
propdlg.h Add missing wxPropertySheetDialog methods and fix a typo. 2016-10-21 20:16:53 -07:00
quantize.h
radiobox.h Merge wxQT branch into the trunk. 2014-08-24 01:50:11 +00:00
radiobut.h
rawbmp.h
rearrangectrl.h Add screenshots of wxRearrange{List,Ctrl} to the manual 2017-08-14 14:59:31 +02:00
recguard.h
regex.h Fix wxRegEx example in the documentation 2016-04-02 18:52:23 +02:00
region.h
renderer.h Allow using wxRendererNative::DrawGauge() for vertical gauges too 2018-02-03 18:46:17 +01:00
richmsgdlg.h Add footer text and icon to wxRichMessageDialog 2018-01-20 16:53:13 +01:00
richtooltip.h
sashwin.h
sckipc.h
sckstrm.h
scopedarray.h
scopedptr.h
scopeguard.h
scrolbar.h
scrolwin.h Document that window must be created in ShowScrollbars() 2018-01-14 18:31:29 +01:00
secretstore.h Change wxSecretStore API to allow retrieving the username 2017-07-17 18:26:20 +02:00
settings.h wxSystemSettings does not inherit from wxObject 2017-01-23 15:05:04 -08:00
sharedptr.h Replace wxEXPLICIT with the 'explicit' keyword 2016-09-14 18:45:12 +09:00
simplebook.h Fix some typos, no code changes (besides strings) 2015-06-05 02:54:46 +04:00
sizer.h Fix typo 2016-10-21 16:54:28 -07:00
slider.h Clarify wxSL_SELRANGE description 2018-04-07 21:51:08 +02:00
snglinst.h
socket.h Detect any attempt to use non-blocking socket from worker threads 2017-08-15 19:48:46 +02:00
sound.h Document that osspd requirement for using OSS under Linux 2017-11-19 22:51:51 +01:00
spinbutt.h Send EVT_SPIN_UP/DOWN events also when wxSpinButton value wraps around (wxOSX) 2017-09-22 15:28:12 +02:00
spinctrl.h Correct docs for wxSpinCtrlDouble style parameter 2017-08-08 10:56:00 +02:00
splash.h
splitter.h Remove outdated documentation remarks on Windows prior XP. 2015-09-27 19:07:20 +02:00
srchctrl.h Use simple wxEVT_SEARCH[_CANCEL] names for wxSearchCtrl events 2018-01-30 02:03:48 +01:00
sstream.h Make wxStringOutputStream ctor explicit 2017-11-03 00:36:48 +01:00
stack.h
stackwalk.h Enable wxStackWalker in MinGW64 builds 2016-03-15 20:11:10 +01:00
statbmp.h Add wxStaticBitmap::SetScaleMode() to control bitmap display size 2016-01-20 18:55:14 +01:00
statbox.h Don't pretend static box with enabled label is disabled 2018-01-18 23:28:16 +01:00
statline.h
stattext.h Don't refresh wxStaticText if its label didn't really change 2017-07-16 02:36:07 +02:00
statusbr.h Update outdated references to WinXP in documentation. 2015-10-08 10:45:51 +02:00
stdpaths.h Fix typo in wxStandardPaths::SetFileLayout() documentation 2017-05-07 14:13:58 +02:00
stdstream.h
stockitem.h
stopwatch.h Correct typo in wxStopWatch example in the documentation. 2014-12-24 13:56:54 +00:00
strconv.h Remove top level "const" from wxMBConv methods return values 2017-11-02 01:57:22 +01:00
stream.h
string.h Add C++11-style cbegin, cend, etc. to wxString's iterator interface 2016-08-25 18:54:05 +02:00
sysopt.h Remove Windows CE support 2015-09-23 00:52:30 +02:00
systhemectrl.h Add wxSystemThemedControl and use it in wxMSW 2015-09-17 14:49:13 +02:00
tarstrm.h
taskbar.h Drop Mac prefix on remaining instances of OS X in docs. 2016-02-23 13:05:44 +01:00
taskbarbutton.h Fix 'destionation' typos 2017-06-21 22:51:57 +04:00
textcompleter.h
textctrl.h Fix behaviour of wxTextCtrl without wxTE_PROCESS_TAB in wxGTK 2018-01-31 23:12:56 +01:00
textdlg.h Make wxWS_EX_VALIDATE_RECURSIVELY default (and only) behaviour 2016-02-09 23:38:23 +01:00
textentry.h Remove platform limitations from AutoComplete() documentation 2018-01-27 01:20:30 +01:00
textfile.h Drop Mac prefix on remaining instances of OS X in docs. 2016-02-23 13:05:44 +01:00
textwrapper.h
tglbtn.h
thread.h Remove obsolete symbols and platforms from the documentation 2015-12-03 22:05:55 +01:00
time.h
timectrl.h
timer.h
tipdlg.h
tipwin.h Cross-link wxToolTip and wxTipWindow in the documentation 2015-12-13 16:08:42 +01:00
tls.h
tokenzr.h Clarify the description of wxStringTokenizer::GetString() 2015-10-21 23:48:24 +02:00
toolbar.h Emphasize the need for Realize() in wxToolBar documentation 2018-04-18 15:48:05 +02:00
toolbook.h Drop Mac prefix on remaining instances of OS X in docs. 2016-02-23 13:05:44 +01:00
tooltip.h Implement wxToolTip::SetDelay() for wxOSX 2016-01-08 17:02:19 +01:00
toplevel.h Introduce platform-dependent wxTLWGeometry class 2018-04-29 19:51:10 +02:00
tracker.h
translation.h Rename context-specific translation macros and document them 2017-08-09 14:21:47 +02:00
treebase.h
treebook.h
treectrl.h Document that wxEVT_TREE_ITEM_MENU item is always valid 2018-03-06 19:51:31 +01:00
treelist.h Remove wxTreeListCtrl special first column resizing logic 2017-12-10 23:21:24 +01:00
txtstrm.h Use enums, not typedef enums, in all public headers. 2016-02-07 01:11:25 +02:00
uiaction.h Fix some typos, no code changes (besides strings) 2015-06-05 02:54:46 +04:00
unichar.h Add some functions to handle supplementary characters 2017-05-01 18:00:21 +09:00
uri.h
url.h Use enums, not typedef enums, in all public headers. 2016-02-07 01:11:25 +02:00
ustring.h
utils.h Add sanity checks for input string in wxHexToDec() 2017-02-23 20:49:59 +01:00
valgen.h
validate.h Make wxValidator::SetWindow() virtual 2018-01-07 01:25:10 +01:00
valnum.h Add wxFloatingPointValidator::SetFactor() 2018-01-26 14:39:57 +01:00
valtext.h
variant.h
vector.h Add wxVector::shrink_to_fit() for C++11 compatibility 2017-11-19 22:09:37 +01:00
version.h
versioninfo.h
vidmode.h
vlbox.h
volume.h
vscroll.h
weakref.h
webview.h Improve RunScript() and MSWSetModernEmulationLevel() documentation 2017-10-22 23:38:08 +02:00
webviewarchivehandler.h
webviewfshandler.h
wfstream.h
window.h Lots more fixes for incorrect or missing interfaces items. 2018-02-10 13:06:19 -08:00
windowid.h
windowptr.h
withimages.h
wizard.h Fix wxWizard::HasPrevPage() documentation 2017-08-09 20:59:29 +02:00
wrapsizer.h
wupdlock.h
wxcrt.h
xlocale.h Drop Mac prefix on remaining instances of OS X in docs. 2016-02-23 13:05:44 +01:00
zipstrm.h Close documentation comment accidentally left open 2018-02-17 13:17:54 +01:00
zstream.h remove const from pass-by-value parameters 2016-01-16 10:55:01 -08:00