Commit Graph

3120 Commits

Author SHA1 Message Date
Vadim Zeitlin
f718689984 added IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:04:15 +00:00
Vadim Zeitlin
527343602e 1. changed wxIconBundle to use m_refData and COW to make copying icon bundles
fast (which was needed for 2)
2. make it possible to return wxIconBundles from wxArtProvider
3. implement Mac-specific wxArtProvider doing (2)

(modified patch 1581960)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 19:59:51 +00:00
Vadim Zeitlin
0597e7f977 add support for resources forks in wxCopyFile() (modified patch 1620336)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 18:23:57 +00:00
Vadim Zeitlin
7816e624f3 support accelerators for buttons too (slightly modified patch 1549012)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 17:05:00 +00:00
Vadim Zeitlin
6a121452ee document GetAnimation() (patch 1695722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 15:45:26 +00:00
Vadim Zeitlin
5a9f61010b document adding new resource handlers (patch 1695722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 15:44:13 +00:00
Vadim Zeitlin
fa89dabe0b don't mention obsolete 2.2 version (part of patch 1695722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 15:42:42 +00:00
Vadim Zeitlin
e0da84df05 mention more predefined array classes (part of patch 1695722)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 15:41:32 +00:00
Vadim Zeitlin
557844d031 fix typo in OnClosingDocument() name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 10:40:11 +00:00
Robin Dunn
cf63f3d3ae More patches from FM to clean up after moving contribs. Also removes
use of wxUSE_RESOURCES


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:08:30 +00:00
Robin Dunn
18cea8715a Patch from FM with more bakefile tweaks and etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 18:26:59 +00:00
Vadim Zeitlin
3c771d6191 fix typo in allowOthers description
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 09:33:42 +00:00
Václav Slavík
8a540c887c made wxString::Replace, Matches and Find work with any form of string argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 08:35:39 +00:00
Robin Dunn
54429bb380 Bakefile and other changes for new locations of STC and wxSVGFileDC.
Remove old files in contrib.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 06:27:23 +00:00
Vadim Zeitlin
39bc0347fd added support for ellipsization and markup in wxStaticText (modified patch 1629946)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 14:13:15 +00:00
Vadim Zeitlin
a95a6eb4aa added gtk.tlw.can-set-transparency system option (replaces patch 1527017)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 14:51:10 +00:00
Vadim Zeitlin
9005f2edfd 1. Moved m_usePrimary to wxClipboardBase as it's now also used by wxMSW/wxMac
2. Added IsUsingPrimarySelection()
3. Fail all clipboard operations when IsUsingPrimarySelection() is true on
   non-X11 platforms


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-31 02:57:55 +00:00
Václav Slavík
ef0f138756 added char_str() and wchar_str() methods to wxString for obtaining char*/wchar_t* pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 20:09:02 +00:00
Vadim Zeitlin
854386fd92 fixed broken link and use \backslash instead of literal backslash which has special meaning in TeX in wxJoin() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:56:39 +00:00
Vadim Zeitlin
d6b7a9285c added more wxART_XXX ids (patch 1687751)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-30 18:53:45 +00:00
Vadim Zeitlin
5644933fa6 added wxWindow::NavigateIn(); provide wxGTK implementation of DoNavigateIn() working with native tab traversal
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 22:10:04 +00:00
Václav Slavík
31b7522e2b use wxStrings in wxLocale methods, _() and wxGetTranslation(), so that it can be used with any string literals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 21:05:04 +00:00
Václav Slavík
f5f93ea573 escape _ in LaTeX sources
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 20:50:34 +00:00
Vadim Zeitlin
d63f7562cf added taborder sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 15:07:10 +00:00
Julian Smart
4f0cd9b61e Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-26 09:42:43 +00:00
Vadim Zeitlin
ad02525dad don't check whether the window is shown and enabled in AcceptsFocus() itself
as it makes overriding it in derived classes problematic; provide a separate
non virtual CanAcceptFocus() method checking whether the window accepts focus
and if it can accept it now and use it instead of AcceptsFocus(); documented
AcceptsFocus() and AcceptsFocusFromKeyboard()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 22:36:24 +00:00
Vadim Zeitlin
8639b30da1 document GetBufferSize() (patch 1687070)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 00:54:40 +00:00
Vadim Zeitlin
c98543210a corrected name of wxWS_EX_PROCESS_UI_UPDATES style (part of patch 1686335)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 00:53:13 +00:00
Vadim Zeitlin
38b36b4c67 corrected link to gettext manual (part of patch 1686335)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-25 00:52:19 +00:00
Vadim Zeitlin
47a8a4d5cc make IsEnabled() return false even if the window parent, and not the window itself, is disabled and added IsThisEnabled() implementing the old IsEnabled() behaviour; also significantly simplify the window state management code in all ports by factoring out the common parts in wxWindowBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-23 14:01:53 +00:00
Vadim Zeitlin
d642a7226f deprecate wxTR_EXTENDED and remove it from the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-19 20:35:49 +00:00
Vadim Zeitlin
cdb11cb99e added labels support for toolbar controls for wxMac and wxMSW (modified patch 1613603)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:13:18 +00:00
Vadim Zeitlin
466e87bd8c use wxStandardPaths and wxFileName in wxFileConfig resulting in big code simplification and cleanup but also in change of the default file locations under Windows (replaces patch 1620492)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 17:34:11 +00:00
Vadim Zeitlin
e3b81044ee wxDC::StretchBlit() for wxMac and wxMSW (patch 1611973)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 15:32:27 +00:00
Vadim Zeitlin
abbb59e8eb added wxJoin and wxSplit functions (modified patch 1638950)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 14:43:41 +00:00
Vadim Zeitlin
c76f52c9c8 corrected typo in \texttt in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 23:19:28 +00:00
Vadim Zeitlin
b3eb9bf553 updated portability note for wxGetDiskSpace (patch 1682889)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 23:05:50 +00:00
Vadim Zeitlin
764471557e added wxMemoryInputStream(wxInputStream&, size_t) ctor (modified patch 1680108)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 15:28:28 +00:00
Vadim Zeitlin
e6733873f5 multiple fixes to wxJoystick under Unix and new index-based API for accessing joystick buttons and axes (patch 1678497)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:51:43 +00:00
Vadim Zeitlin
733f486aac added support for wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:44:41 +00:00
Vadim Zeitlin
b62f94ff48 added wxGridUpdateLocker helper class wrapping Begin/EndBatch() calls in a more convenient and safe way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:25:15 +00:00
Vadim Zeitlin
4215a4386e corrected example; minor fixes to the text; uncommented insertion of the bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 15:08:30 +00:00
Vadim Zeitlin
09b86e698c added support for wxTE_NO_VSCROLL (patch 1588605) and documented its behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-11 02:45:48 +00:00
Vadim Zeitlin
c4ec0ce820 derive wxConfig classes from wxObject and add wxRTTI macros to them (patch 1587607)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 18:16:10 +00:00
Vadim Zeitlin
6b06226335 added GetTextExtent() overload returning wxSize (patch 1631508)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-10 17:25:36 +00:00
Vadim Zeitlin
696d13ee0e added wxMutex::LockTimeout() (modified patch 1671637)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 00:22:11 +00:00
Vadim Zeitlin
63e0279662 add a note about changing selection background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 20:59:24 +00:00
Václav Slavík
24ad931818 deprecated wxString::GetWriteBuf() and friends in favour of wxStringBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 19:41:05 +00:00
Vadim Zeitlin
d71789cc5b remove inexistent wxGetMultipleChoice()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 21:11:13 +00:00
Václav Slavík
e960c20e38 changes wxDirExists() to accept wxString instead of wxChar*, so that it can be used with any string literals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-02 12:44:52 +00:00