Commit Graph

2114 Commits

Author SHA1 Message Date
Vadim Zeitlin
586f402336 Document that wxDCClipper currently resets clipping region.
Unlike other similar classes, this one doesn't restore the previous clipping
region but just resets it because there is no way to get the current clipping
region from wxDC now. At least document this limitation until it can be fixed.

See #13834.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-28 22:24:31 +00:00
Robin Dunn
8746b63ff7 Typo fix, and add some missing methods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-26 01:29:00 +00:00
Julian Smart
23698b123b Fixed floating image layout when typing in subsequent paragraph
Now makes use of max size for images and keeps the image size reasonable
Added original image size so can usually avoid reloading image when recomputing
cached bitmap size
Takes into account bottom of the last floating image so scrollbars are
set correctly
Original image size is shown in disabled size controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-25 11:42:31 +00:00
Julian Smart
c6182d489c Added custom properties to style definitions and style sheets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-24 11:22:18 +00:00
Julian Smart
e059e1bb33 Added flags to SetStyle with specific object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-23 16:54:52 +00:00
Robin Dunn
ac03e0173b Fix missing and broken interface items for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-21 00:07:31 +00:00
Robin Dunn
70175534bf Make wxTaskBarIcon's ctor have the same API on all platforms even though setting the icon type can only be done on wxOSX-cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-20 05:41:54 +00:00
Robin Dunn
b83b7724da Document SetDoubleBuffered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-20 05:41:39 +00:00
Vadim Zeitlin
3d0905aba8 Correct wxPaintDC base class in the documentation.
wxPaintDC derives from wxClientDC, not wxWindowDC.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-19 16:14:16 +00:00
Robin Dunn
34a9a3528f Fix missing and broken interface items for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-17 17:00:36 +00:00
Vadim Zeitlin
b7775a521f Add wxFSInputStream providing stream interface to wxFileSystem.
This class allows using virtual wxFSFiles with any wx functions taking
streams. E.g. it makes it possible to load images and animations from
wxFileSystem.

Closes #14185.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-16 13:53:49 +00:00
Vadim Zeitlin
f5ef4d69b7 Added wxWrapperInputStream class.
This stream allows to wrap another stream. This is a useful base class for
adapter classes providing stream interface on top of something else, like the
upcoming wxFSInputStream.

See #14185.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-16 13:53:45 +00:00
Vadim Zeitlin
11527fc9f0 Added support for page tooltips to wxAuiNotebook.
Allow setting tooltips for the tabs of the individual pages of wxAuiNotebook.

Closes #14216.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-16 12:12:26 +00:00
Vadim Zeitlin
86f5e64bb1 Added wxAcceleratorEntry::ToRawString().
This function can be used to obtain language/locale-independent representation
of an accelerator. This is particularly useful for storing it in configuration
files.

Closes #14228.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-16 12:12:19 +00:00
Robin Dunn
575821fad8 Add missing interface items for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-12 05:33:29 +00:00
Robin Dunn
c328f9d374 Add missing interface items for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:27:55 +00:00
Robin Dunn
073b976d01 Fix missing and broken interface items for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:27:50 +00:00
Robin Dunn
e5e10e234e Remove the wxPython-only doc snippets from the C++ docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:27:44 +00:00
Robin Dunn
eb5730bdce Minor tweak to improve understandability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:27:28 +00:00
Robin Dunn
be631dbaa0 Add CreateTextSizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-10 03:27:22 +00:00
Vadim Zeitlin
95aced6193 Fix typo in wxKeyEvent::GetKeyCode() documentation example.
Use GetKeyCode() instead of (undefined) "keycode" variable.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-08 13:25:41 +00:00
Robin Dunn
f2418860fe Add the client and art IDs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-08 00:54:02 +00:00
Robin Dunn
691a621163 Mark which methods are pure virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 04:18:28 +00:00
Robin Dunn
3f89cb6071 Document wxHelpControllerBase so the type can be used in Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 04:18:23 +00:00
Robin Dunn
848a90b112 wxHtmlHelpController derives from wxHelpControllerBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 04:18:16 +00:00
Robin Dunn
895c1bc001 Add a ctor that is compatible with the documented wxHelpController API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-07 04:18:11 +00:00
Vadim Zeitlin
2415cf6725 Remove support for MetroWerks CodeWarrior compiler.
This compiler doesn't exist any more and was probably unsupported even in 2.8,
let alone 2.9, so remove all the __MWERKS__ tests to simplify things.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-05 18:40:11 +00:00
Vadim Zeitlin
db414879d4 Remove wrong const from wxMenu::GetMenuItems() documentation.
Only one of the overloads is const.

Closes #14169.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-05 18:40:00 +00:00
Robin Dunn
cb9582cdf6 Add wxAffineMatrix2DBase class.
If a class is used somewhere as parameter or return value types then it needs to be documented, at least for Phoenix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-04 23:22:53 +00:00
Vadim Zeitlin
771563baee Added wxGraphicsContext::CreateMatrix(wxAffineMatrix2D) overload.
Make it easy to convert generic wxAffineMatrix2D to native wxGraphicsMatrix.

Closes #13188.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-03 11:50:19 +00:00
Vadim Zeitlin
554b7d9f8d Document wxStreamBuffer::BufMode enum and fix dtor.
Document the enum as it's used as parameter type by other methods and so needs
to be declared to make the header parsable.

Also fix wxStreamBuffer dtor documentation which was missing a tilde.

Closes #14174.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 16:07:44 +00:00
Vadim Zeitlin
1007200e08 Fix wxArrayString::Item() and Last() documentation.
Document both const and non-const versions of the methods.

Closes #14173.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 16:07:41 +00:00
Vadim Zeitlin
483b63b3a1 Fix wxURI::HasUserInfo() name in the documentation.
Use the correct name of an existing method instead of HasUser().

Closes #14172.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 16:07:38 +00:00
Vadim Zeitlin
214ffcf58d Fix wxTextFile::GetLine() documentation.
Document both const and non-const overloads of this method instead of having
some strange (and non-existent) chimera of the two.

Closes #14171.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 16:07:34 +00:00
Vadim Zeitlin
8362ae0a2a Remove wrong consts from wxTextFile::Open() documentation.
Open() is a non-const method.

See #14171.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 16:07:31 +00:00
Vadim Zeitlin
91f5965066 Correct the return type of wxPersistenceManager methods in the documentation.
DisableSaving() and DisableRestoring() don't return anything.

Closes #14170.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 16:07:28 +00:00
Vadim Zeitlin
e32a6e58ad Document pure virtual wxDropTarget methods correctly.
GetData(), OnData() and OnDrop() were not documented as being pure virtual.

Closes #14165.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 16:07:24 +00:00
Vadim Zeitlin
634034d582 Document wx{Single,Multi}ChoiceDialog styles in class documentation.
The styles should be documented in the class documentation, not the
documentation of individual constructors.

Closes #14162.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-01 10:26:37 +00:00
Robin Dunn
475d0f2475 Interface fixes for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-31 04:39:53 +00:00
Robin Dunn
84daa96e61 Add NUM_CUSTOM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-31 04:39:48 +00:00
Robin Dunn
930e34529d Add wxGenericProgressDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-31 04:39:43 +00:00
Robin Dunn
ae0a6d8b14 Add missing dirctrl interface items for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-30 18:29:03 +00:00
Robin Dunn
2c033d4a12 wxTreeCtrl interface fixes for Phoenix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-29 17:14:52 +00:00
Steve Lamerton
34326da778 Minor changes, just trim trailing spaces in webview code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-28 18:00:30 +00:00
Vadim Zeitlin
324ab5e2db Document that wxDateTime::UNow() returns UTC time.
This wasn't clear and was probably surprising as this is different from Now()
behaviour.

See #14149.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-28 11:29:40 +00:00
Robin Dunn
0ffc170455 Add missing interface items for listctrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 17:28:56 +00:00
Vadim Zeitlin
6f26e88002 Honour source wxDC coordinate system in wxDC::Blit() in wxMSW.
wxGTK and wxOSX already did this so do it in wxMSW as well.

Update the documentation to make this explicit.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 12:28:04 +00:00
Vadim Zeitlin
825842b411 Make wxDC::Blit() and StretchBlit() documentation more useful.
Enumerating the list of parameters in the method description is not especially
helpful, don't do it. Explain the functions relationship instead.

Also don't say that StretchBlit() is not implemented in wxGTK because it does
work there (using the generic implementation using wxDC scale).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 12:28:01 +00:00
Vadim Zeitlin
8b2f64c6c1 Added wxWindow::IsDescendant() helper.
This function checks if another window is a direct or indirect child of this
one, which can be needed in a number of situations.

See #3063.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-27 11:58:02 +00:00
Vadim Zeitlin
c0795ce8ea Added wxTimePickerCtrl::GetTime() and SetTime().
These methods, taking broken down time representation, avoid the problems
arising due to DST complications when using wxDateTime to represent the time
as special care needs to be taken in this case to avoid using the date part
corresponding to a DST change date at which time is discontinuous.

Document the problem with the old functions and use the new ones in the
sample.

See #14137.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-03-25 23:17:01 +00:00