Commit Graph

39093 Commits

Author SHA1 Message Date
Roman Rolinsky
5050b626e5 Added Preferences dialog (and defaults for some parameters)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:19:53 +00:00
Roman Rolinsky
552240ce17 collapsing tool panels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 14:14:49 +00:00
Václav Slavík
b7452b3a0e removed wxArrayString casting hack, it doesn't work with the new wxString class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 12:57:46 +00:00
Roman Rolinsky
c1dda21b64 default values for option and flag (TODO: preferences dialog)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:27:25 +00:00
Julian Smart
5bcdac458c Further correction in case where string value is omitted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 08:13:14 +00:00
Vadim Zeitlin
632e5b636d don't waste time updating state of tools in a hidden toolbar (patch 1612415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 02:30:35 +00:00
Vadim Zeitlin
a6c2e2c765 include wx/msw/missing.h after wx/msw/private.h, otherwise we get warnings when compiling without PCH (replaces patch 1674510)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:56: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
0fa5ce0c76 use safer RemoveEventHandler() instead of PopEventHandler() (patch 1678016)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:43:32 +00:00
Vadim Zeitlin
9092371c0a do nothing in ShowHidden() if the flag doesn't change (patch 1678963)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:30:33 +00:00
Vadim Zeitlin
e26d5213ec call GetWidth/Height() only once in Rotate() and not inside the loops (patch 1681544); some minor code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-16 00:19:16 +00:00
Roman Rolinsky
f2ccaa2279 another fix for undo/redo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 22:39:26 +00:00
Vadim Zeitlin
75cbbafdeb don't add wxVSCROLL if only wxHSCROLL is explicitly specified (and vice versa), only add (both) if no scrolling styles are specified at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 20:32:36 +00:00
Roman Rolinsky
a023b456b4 - undo/redo fix for nonchecked items
- global modified state set as soon as possible
- "option" property renamed to "proportion"


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 19:17:27 +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
Stefan Csomor
03cebc22cb reverting one line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:32:29 +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
Julian Smart
7660b85c31 Don't send initial event in ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 16:09:57 +00:00
Václav Slavík
fab3f50eb7 fixed wxDataViewCtrl compilation with DigitalMars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 15:31:38 +00:00
Vadim Zeitlin
f06db45d64 removed outdated Classic files to avoid confusing people
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 04:04:54 +00:00
Vadim Zeitlin
fa5f72b36f added wrapper functions allowing to postpone loading of GDI+ DLL until it's really needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 03:43:33 +00:00
Vadim Zeitlin
0024ec5086 extracted code including gdiplus.h in a separate header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 03:41:52 +00:00
Roman Rolinsky
8c64c153a0 searching for plugins in XRCEDPATH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 02:30:13 +00:00
Vadim Zeitlin
5ab9534bc6 fix GetSize() for large files (patch 1680876)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 00:18:05 +00:00
Roman Rolinsky
aea9f6d5d3 cleanup of modules loaded from comment directives
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 23:18:26 +00:00
Roman Rolinsky
a616619755 moved custom menu up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 23:17:48 +00:00
Vadim Zeitlin
8d3a53745e suppress unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 21:13:57 +00:00
Vadim Zeitlin
34c76c8155 last change was wrong, fix wxUSE_MDI==0 build without completely disabling this file compilation when wxUSE_MDI==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 21:07:58 +00:00
Václav Slavík
32efa676be constructing a sentence dynamically is not i18n-friendly, fixed to use two separate translatable strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 21:03:34 +00:00
Roman Rolinsky
c0d5ae7447 more custom classes support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 18:33:45 +00:00
Vadim Zeitlin
5647b95a66 replace (deprecated) Get/UngetWriteBuf() with wxStringBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:28:14 +00:00
Vadim Zeitlin
87d3473070 removed wxUSE_DIB_FOR_BITMAP which doesn't seem to be used any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:11:52 +00:00
Roman Rolinsky
cb949fa96c wxLED_ALIGN_MASK fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 17:05:04 +00:00
Vadim Zeitlin
65aeaf19f6 implement Set/GetTitle() (last part of patch 1679337)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 13:39:30 +00:00
Václav Slavík
49a70977b3 constructing a sentence dynamically is not i18n-friendly, fixed to use two separate translatable strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 12:04:26 +00:00
Vadim Zeitlin
58afa32bf4 don't really enable the window when its parent is disabled, just remember to do it later when the parent is enabled back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 11:44:19 +00:00
Chris Elliott
fdf19d289f build 2.8.2 html and htb docs on windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 10:39:58 +00:00
Vadim Zeitlin
4dd2530846 avoid duplicated empty help menu in localized applications (patch 1600747)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:37:07 +00:00
Vadim Zeitlin
6fa2dd0eb9 don't add extra GetCharHeight() pixels to the top border if our label is empty (patch 1581459)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:25:20 +00:00
Vadim Zeitlin
e8ddc5bda1 changed literal "minimal" strings to $(PRODUCT_NAME) (patch 1509610); updated version and copyright
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-14 00:00:54 +00:00
Roman Rolinsky
00d153468c Support for custom controls, first attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:59:38 +00:00
Vadim Zeitlin
aa67a27af1 implemented Set/GetLabel() (part of patch 1679337)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:46:08 +00:00
Vadim Zeitlin
d174f457e6 implemented GetLabel() (part of patch 1679337)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 23:45:47 +00:00
Vadim Zeitlin
e55a667c1c test for pthread_mutex_timedlock() availability in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 22:37:26 +00:00
Vadim Zeitlin
8c58338193 allocate HPEN on demand instead of doing every time a pen property is modified; also significant code cleanup (finally)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 22:01:27 +00:00
Vadim Zeitlin
8e34db1d94 allocate HFONT on demand instead of doing every time a font property is modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 21:59:55 +00:00
Vadim Zeitlin
adbd3cbc71 fix setting the properties of a valid but unshared font object broken in the last commit (HFONT wasn't recreated)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-13 20:35:58 +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
39013ba095 removed extraneous semicolon (bug 1679080)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 20:34:46 +00:00
Vadim Zeitlin
861a14e13c fix window repainting when SetLineCount() is called (patch 1667599; closes bug 1639629)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-12 20:29:34 +00:00