Commit Graph

4630 Commits

Author SHA1 Message Date
Chris Elliott
1c6c52fdef tested and applied http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/85790/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 10:50:54 +00:00
Vadim Zeitlin
75a788ee92 don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:22:00 +00:00
Vadim Zeitlin
4ff9366dc1 don't assert in SetSelection(wxNOT_FOUND), just clear text zone contents (patch 1707475)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:13:08 +00:00
Robert Roebling
23714996e9 Added mini docs for wxChoicebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:40:42 +00:00
Robert Roebling
f13a38a5fa Added mini docs to wxListbook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:33:19 +00:00
Robert Roebling
1be9182df8 Typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 08:20:03 +00:00
Vadim Zeitlin
c94f845b16 changed wxDC::GetTextExtent() and related methods to take const wxFont pointer, for consistency with wxWindow::GetTextExtent() and because it generally doesn't need a non-const font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 01:49:47 +00:00
Robert Roebling
2d9152d5d6 Mention that wxBookCtrlBase derived controls do derive
from that common class and link it to the wxBookCtrl
    overview.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 08:28:29 +00:00
Robert Roebling
3203e334b0 Updated docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 08:13:25 +00:00
Robert Roebling
fbcb02294f Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-23 09:28:08 +00:00
Vadim Zeitlin
d3a0a0eeab added wxAppTraits::GetStandardCmdLineOptions() allowing to add the description of the standard toolkit options to the usage message and implement it for wxGTK2 (patch 1703077)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:54:07 +00:00
Vadim Zeitlin
a2979ead8d added HasExtraStyle()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:30:39 +00:00
Vadim Zeitlin
9c57566224 updated SetFont() documentation: it returns bool, not void (bug 1705330)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 17:47:08 +00:00
Vadim Zeitlin
8906471733 distribute only the extra, free, space according to the items proportions in wxBoxSizer and not the entire available space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 12:50:01 +00:00
Vadim Zeitlin
defde6bc66 allow having children of status bar in XRC (patch 1704125)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:57:50 +00:00
Vadim Zeitlin
df18cc7aa1 added wxStreamBuffer::Truncate() (patch 1687081)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 18:11:37 +00:00
Vadim Zeitlin
6ad0a7d52f fix bug with not updating the last line correctly when a group was deleted and recreated (bug 1685312); added a unit test for this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-21 15:04:52 +00:00
Vadim Zeitlin
a9c9588480 removed extra membersections (patch 1702329)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:21:00 +00:00
Robert Roebling
7a4523c810 Escape slashes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:44:18 +00:00
Robert Roebling
81a220373b Doc correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:37:18 +00:00
Robert Roebling
305c49a1a9 Updated wxDataViewCtrl docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 20:36:00 +00:00
Václav Slavík
8060b0be0e added wxMBConv argument to char_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 11:04:35 +00:00
Vadim Zeitlin
ff0d9d83cd more native look for wxCheckListBox (especially under XP) (modified patch 1690068)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:26:13 +00:00
Vadim Zeitlin
8a46124968 added new wxCONTROL_FLAT bit (see discussion of patch 1691478)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:22:46 +00:00
Vadim Zeitlin
6285e36ba0 added wxRTTI macros to stream classes (patch 1687073)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 23:35:13 +00:00
Vadim Zeitlin
aa0f7b67fd added wxAPPLY and wxCLOSE flags to CreateStdDialogButtonSizer() (Marcin Wojdyr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 13:22:31 +00:00
Vadim Zeitlin
57d7f9888e added wxAPPLY and wxCLOSE flags to CreateStdDialogButtonSizer() (Marcin Wojdyr)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 13:17:06 +00:00
Vadim Zeitlin
3b6c95eb5f even controls with transparent background should draw it if they have an explicitly set background colour, so handle this at wxWindowUniv level instead of adding hacks to individual controls, such as wxStaticText, to deal with this (replaces patch 1700004)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 01:15:53 +00:00
Vadim Zeitlin
b5a3a81b9c fix wxTextCtrl::SetSelection(-1, -1) to behave as documented (patch 1700000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:36:42 +00:00
Vadim Zeitlin
223b7504a2 implement support for right-aligned/centered items owner-drawn items (patch 1699415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:32:52 +00:00
Vadim Zeitlin
26822b76fa removed documentation for wxStartTimer() and wxGetElapsedTime() which are only kept for backwards compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 23:26:47 +00:00
Vadim Zeitlin
335d3a472a clarifications to the ctor documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-13 01:27:57 +00:00
Vadim Zeitlin
b4a980f4f5 don't use obsolete functions (mostly copystring() and Count()), remove their documentation (patch 1697956)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-11 00:23:19 +00:00
Vadim Zeitlin
dc3065a56f Big wxGL classes refactoring/cleanup:
1. Provide the same API, especially, but not limited to, wxGLCanvas and
   wxCLContext ctors (which were completely different in all ports)
2. Extracted common parts into wxGLCanvas/ContextBase classes
3. Deprecate the old API using implicitly created wxGLContext


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 17:38:55 +00:00
Vadim Zeitlin
f70f1f25da add GetOwner() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 14:35:34 +00:00
Robert Roebling
06354b5621 Document wxWindow::Navigate() instead of generation
of a navigation event in the text on wxWANTS_CHARS.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 08:03:39 +00:00
Vadim Zeitlin
28117f2426 make Enter/Return activate the default button (second version of patch 1696563)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:28:27 +00:00
Vadim Zeitlin
5440a04fa8 don't return the next line text from GetLineText() for empty lines (patch 1697208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 21:17:09 +00:00
Vadim Zeitlin
e9793aef3c escape &
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 16:09:20 +00:00
Vadim Zeitlin
7f580b6380 fix --with-opengl formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 16:04:03 +00:00
Vadim Zeitlin
6b5a8c7d98 replaced deprecated wxMULTIPLE with wxFD_MULTIPLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 15:50:25 +00:00
Vadim Zeitlin
bafddbe882 added missing membersection for CreateIconBundle
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-09 00:19:13 +00:00
Vadim Zeitlin
2cdb6fdb13 added mouse wheel support (patch 1696082)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 22:28:42 +00:00
Vadim Zeitlin
f18eaf2687 The great wxVScrolledWindow refactoring: allow using it both horizontal and
vertical directions (slightly modified patch 1671181)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 01:58:16 +00:00
Vadim Zeitlin
f4f5d5697d use wxFD_XXX instead of deprecated wxXXX in the documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:23:14 +00:00
Vadim Zeitlin
bc855d0932 added wxEXEC_BLOCK flag (patch 1620430)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-08 00:18:09 +00:00
Vadim Zeitlin
9b5933bcbc added GetIconOfExactSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:53:06 +00:00
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