Commit Graph

1084 Commits

Author SHA1 Message Date
Jaakko Salli
4e00b90802 Added support for wxLongLong and wxULongLong in wxVariant (closes #10166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-15 22:43:27 +00:00
Vadim Zeitlin
2352862a7e 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)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 22:55:24 +00:00
Robert Roebling
0455894395 Updated info on wxRefCounter and related classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 14:45:20 +00:00
Robert Roebling
e4e83d3ad6 Make wxDataViewModel derive from wxRefCounter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-14 14:11:07 +00:00
Robert Roebling
0e497a9db6 Update docs to mention wxRefCounter class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:29:59 +00:00
Vadim Zeitlin
f76c075805 added convenient wxFont::Make{Bold,Italic,Smaller,Larger} and Scale() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 20:11:21 +00:00
Vadim Zeitlin
0241477aee clatify alpha discussion (closes #10888)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 15:35:17 +00:00
Vadim Zeitlin
d9e80dce15 make more wxFileName methods const (closes #10887)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-12 15:28:45 +00:00
Vadim Zeitlin
4cd15b49b4 allow customizing wxStandardPaths logic for the program directory determination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 16:46:19 +00:00
Vadim Zeitlin
89391a4ea1 make wxFileName::{Mk,Rm}dir() const (closes #10868)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 16:11:07 +00:00
Vadim Zeitlin
522c340481 GetTextExtent() is not virtual any more (since r60984)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-11 15:57:29 +00:00
Jaakko Salli
27c1f235ba Allow reparenting wxPropertyGrid(Manager) to work; Show error and suggest calling wxPropertyGrid::OnTLPChanging() if top-level parent changed indirectly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 20:36:56 +00:00
Vadim Zeitlin
7aa3b31d1a document wxBase64DecodeMode and other minor fixes (closes #10882)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-10 14:44:26 +00:00
Jaakko Salli
b8b1ff481c Implementations of wxPGProperty::ChildChanged() must now return changed value of the whole property instead of writing it back to 'thisValue' argument. This change was done primarily for better compatibility with wxPython bindings, but should also be slightly more cleaner behavior API-wise. Breaks backwards compatibility, but not silently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-07 07:52:53 +00:00
Vadim Zeitlin
25f49256ac return wxStandardPaths, not wxStandardPathsBase, from wxStandardPathsBase::Get() to allow calling platform-specific methods on it if necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 23:34:05 +00:00
Vadim Zeitlin
80f624ec0c added multiple selections support to wxDirCtrl (closes #10830)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 14:00:51 +00:00
Vadim Zeitlin
50b1e15e0c document effect of loading an icon bundle on stream position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-06 12:09:30 +00:00
Vadim Zeitlin
febd3dcaf8 added wxUINTn_MAX constants; document them together with the existing wxINTn_MIN/MAX ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:43:32 +00:00
Francesco Montorsi
23790a2a29 add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-02 13:01:41 +00:00
Francesco Montorsi
ed1288eef0 add wxProgressDialog::SetRange() function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 23:19:25 +00:00
Vadim Zeitlin
77782a5c5f corrected wrong type of posErr parameter (closes #10862)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 13:04:26 +00:00
Francesco Montorsi
8faef7ccbc document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modify the current stream position and that they require seekable streams; rename current GetImageCount() functions to DoGetImageCount() and put save-and-restore stream position logic in GetImageCount(); add comments in the various DoCanRead() and in DoGetImageCount() where the stream position is modified; remove unneeded SeekI(0) calls from DoCanRead() and DoGetImageCount() functions: they didn't allow to load images from non-seekable streams; implement forward-seeking in wxInputStream::SeekI() also for non-seekable streams
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 11:43:36 +00:00
Vadim Zeitlin
255c07b4df extracted wxTextWrapper in its own header and made it public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 20:12:07 +00:00
Vadim Zeitlin
4feecbb929 added wxDC::CopyAttributes() and use it in wxBufferedDC to ensure that wxAutoBufferedPaintDC font is correctly initialized from the window font, as it already happens with wxPaintDC that it mimics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 19:40:04 +00:00
Francesco Montorsi
3b36f093d9 group wxPlatformInfo functions for easier browsing; add more descriptions; link the related function group
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 16:34:13 +00:00
Vadim Zeitlin
4b14a2f79b added default ctor to wxMouseEventsManager, this is convenient when deriving window classes (which must provide default ctors to e.g. allow loading them from XRC) from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 14:43:01 +00:00
Vadim Zeitlin
f1a73c6a81 added wxTempFile::Flush() (dedicated to Theodore Ts'o and Ext4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 09:49:31 +00:00
Jaakko Salli
0ce8e27f68 Added wxPGProperty::SetDefaultValue(v), as a shortcut for SetAttribute(DefaultValue, v)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-31 08:58:38 +00:00
Jaakko Salli
14bac4b5b9 More forward-ported wxPython-bindings related cleanup from 2.9.0 branch, also documented wxPGProperty::GetItemAtY()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-30 11:20:35 +00:00
Vadim Zeitlin
787de19a13 update CRT environment block in wxSetEnv() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-24 15:33:33 +00:00
Vadim Zeitlin
6528a7f145 make wxWindow::SetAutoLayout() now works for all windows, not just panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-23 11:26:58 +00:00
Francesco Montorsi
d6764050d8 fix the wxCursor(const wxString& cursor_file, ...) ctor by reusing wxImage ctor; fix doxygen rendering of that ctor docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-16 10:42:48 +00:00
Vadim Zeitlin
b5d9d763f7 remove misleaing mentions of wxEXEC_ASYNC from wxExecute() overloads always executing synchronously
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-13 16:22:31 +00:00
Francesco Montorsi
e4d531ee8d typo fix (closes #10699)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:42:59 +00:00
Francesco Montorsi
8602802568 add new predefined colour (and relative brush/pen): wxYELLOW (closes #10669)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-09 12:40:09 +00:00
Vadim Zeitlin
326462ae94 add support for loading wxListCtrl items and wxImageLists from XRC (closes #10647)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 17:29:57 +00:00
Vadim Zeitlin
3821ccfaa6 document that setting an empty clipping region destroys the existing one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-07 08:58:54 +00:00
Vadim Zeitlin
e4eef50be7 correct a typo in a comment in the example (see #10637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-03 09:29:13 +00:00
Vadim Zeitlin
3d3ecbbcc7 fix typo (see #10637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 21:59:03 +00:00
Vadim Zeitlin
72a7c55982 added wxStd{In,Out}putStream classes (closes #10637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-02 18:29:33 +00:00
Vadim Zeitlin
bca8c756a3 added wxMouseEventsManager
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 22:52:33 +00:00
Vadim Zeitlin
9e0ed08360 put wx{Keyboard,Mouse}State in events category instead of misc one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-05-01 22:37:14 +00:00
Vadim Zeitlin
27bb2c8cb7 generate wxEVT_GRID_{COL,ROW}_SIZE events when the user double clicks the separating line too; do not generate these events if the size didn't really change (further improvements to grid events are possible and remain needed, see #10754)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-29 21:59:10 +00:00
Vadim Zeitlin
ab826fd86f don't duplicate wxMouseState in wxMouseEvent but reuse its methods and variables (somehow this was never done when wxMouseState was introduced)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-29 21:42:30 +00:00
Vadim Zeitlin
32bcf97466 added missing @ref after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-27 21:44:38 +00:00
Francesco Montorsi
ac55e6b01e correct SetFont() documentation: at least wxMSW and wxGTK do allow the user to pass wxNullFont (or another invalid font instance) (see #10475)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-27 18:44:42 +00:00
Vadim Zeitlin
82edfbe7d9 add a possibility to disable individual grid rows/columns resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 17:02:53 +00:00
Francesco Montorsi
f7008bad87 mention that calling SetFaceName() with an invalid facename will invalidate the font object (see #10475)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 15:01:28 +00:00
Francesco Montorsi
060c4f9093 make clear that wxFont::SetFamily() does change the font face name, too (not only on wxGTK, also in wxMSW); reorganize docs for wxFont using doxygen groups; mention that GetFamily() is not very useful and returns a lot of times wxFONTFAMILY_UNKNOWN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 14:55:07 +00:00
Vadim Zeitlin
c173e541b8 add parent parameter to wxAboutBox() (closes #9952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 13:41:21 +00:00