Commit Graph

37945 Commits

Author SHA1 Message Date
Kevin Ollivier
61574b34df Adding a copy of sized_controls.py to the wxPython distro so I can use it for developing GUIs. :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 16:12:36 +00:00
Vadim Zeitlin
ed0cc9ffec added chart icon for non-MSW ports too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 15:05:29 +00:00
Vadim Zeitlin
e21d861412 Some sample cleanup:
1. Use standard sample icon, avoid badly looking #ifdef __WXMSW__s
2. Use "modern" (i.e. this century) wxToolBar API, simplify code by
   not allocating the bitmaps on the heap and deleting them any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 15:04:05 +00:00
Julian Smart
5912d19ef7 Removed obsolete code
Added some more event types
Added back GetStyleForRange


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 14:28:47 +00:00
Benjamin Williams
a95dd1d8ff aui documentation updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 13:22:02 +00:00
Benjamin Williams
4dc79cfb52 added wxAuiManager::GetManager() call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 13:07:01 +00:00
Vadim Zeitlin
28f9f58ca0 fixed warning about junk after #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 12:29:21 +00:00
Benjamin Williams
254a342953 renamed wxAUI_ART to wxAUI_DOCKART
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 11:28:17 +00:00
Robert Roebling
4ba1c184b5 Commit fix to remove warnings when drawing text
to a mono-bitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:47:24 +00:00
Robert Roebling
c77eea28f9 Implemented forceTrueColour in SetBestVisual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:39:06 +00:00
Robert Roebling
515a31bf65 Add forceTrueColour option to SetBestVisual().
Currently API only, implement later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 09:29:39 +00:00
Julian Smart
5600fb6e6f Documented wxRICHTEXT_HANDLER_NO_HEADER_FOOTER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:42:12 +00:00
Julian Smart
b774c69893 Added wxRICHTEXT_HANDLER_NO_HEADER_FOOTER to allow saving HTML fragments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:40:01 +00:00
Julian Smart
523d2f145e Added wxRICHTEXT_SETSTYLE_RESET SetStyleEx() flag to allow for clearing attributes before setting new ones
SetStyle() now looks up and applies named paragraph or character style
Fixed a bug in text entry (taking previous paragraph's style)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:33:34 +00:00
Julian Smart
380a5dd803 Limit indentation in style listbox, and also show centring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 08:21:38 +00:00
Kevin Ollivier
61a0bf7c4b Add a feature to prompt to install wxaddon modules that are not yet on the user's system. Developers can also require a certain version (or minimal version) of a module so that users get prompted to upgrade old modules.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 05:17:48 +00:00
Vadim Zeitlin
d5eaa19fdf don't set A4 paper size, use the system default instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 01:54:48 +00:00
Robin Dunn
08893e7eae Wrap the setting of the initial content and formatting in Freeze/Thaw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:43:40 +00:00
Robin Dunn
80a774ed35 Layout tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:43:03 +00:00
Robin Dunn
84bc0d49e4 Added the wx.combo module, which contains the ComboCtrl and ComboPopup
classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:38:29 +00:00
Robin Dunn
41fa9bfc46 Corrected double destruction of views
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:36:54 +00:00
Vadim Zeitlin
a1b1cf33e1 disable mmedia contrib for wxMGL (blunt fix for tinderbox compilation error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:33:22 +00:00
Robin Dunn
428947f36f Added wxStandardPaths::GetExecutablePath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 23:31:04 +00:00
Benjamin Williams
0a5bb138a7 added missing button state
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 20:45:17 +00:00
Michael Wetherell
3acc920057 Fix not recognising '/' on Windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 19:03:03 +00:00
Benjamin Williams
7f1e14684d notebook window list popup positioning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 18:48:00 +00:00
Benjamin Williams
8096c4256b minor tab drawing improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 18:46:10 +00:00
Michael Wetherell
80e62471ad Change the factory constructor to not use a predefined wxMBConv object as it
prevents global instances of the factories. The predefined converters are
references which may not have been initialised when a global factory's
constructor runs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 14:30:20 +00:00
Vadim Zeitlin
f2dc88a050 wxMGL/Unix compilation fix attempt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 14:02:14 +00:00
Jouk Jansen
b29aaf4a77 Solves 2 problems I encounterd on OpenVMS :
stdpaths.cpp : missing rourtine in VMS part
     bitmap.cpp : type casts WXPixmap changed to Pixmap

 Modified Files:
 	wxWidgets/src/unix/stdpaths.cpp wxWidgets/src/x11/bitmap.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 13:31:40 +00:00
Benjamin Williams
2b4b6ded9b pane buttons are now vertically centered
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 11:01:19 +00:00
Benjamin Williams
7453065ac0 removed a bunch of wxCHECK_VERSION(2,7,0)'s because aui isn't 2.6.x-backportable anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 10:39:23 +00:00
Benjamin Williams
4cd1d19679 use real alpha blending algorithm to avoid sickly looking colors on some platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:25:09 +00:00
Benjamin Williams
a500c7ed7a consolidated duplicated static functions into one file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:21:54 +00:00
Stefan Neis
fd29f9ad65 Wrong version checked in last time, this time we really:
- avoid problems when calling lxlite on unix style filenames (starting /).
- rely on default compression options when calling lxlite.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 08:00:54 +00:00
Julian Smart
7d5232b815 Removed new function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 07:33:19 +00:00
Benjamin Williams
852a7df6d5 docking crash fix patch applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-16 06:13:21 +00:00
Julian Smart
c7134e1c9c Made new functions non-virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 23:03:18 +00:00
Robert Roebling
68d89837ca [ 1596568 ] Fix for bug 1595339
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 19:00:16 +00:00
Stefan Neis
be8f1469e2 Avoid problems when calling lxlite on absolute unix style filenames (starting /)
Rely on default compression options when calling lxlite.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 17:57:06 +00:00
Julian Smart
a7ed48a590 Small bug fixes
Added GetStyleForRange to wxRichTextCtrl
HasCharacter/ParagraphAttributes range now consistent with other functions in wxRichTextCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 15:59:06 +00:00
Václav Slavík
710526dea5 fixed wx-config symlink creation with non-empty DESTDIR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 15:46:11 +00:00
Benjamin Williams
eeb5b65b15 fixed wrong parameter types in FindToolForPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 10:07:25 +00:00
Robert Roebling
5e513780ed Check if DnD is started from a mouse event.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 08:59:50 +00:00
Kevin Ollivier
aac75444c6 Column position changes after each delete, so always delete the 0 column.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-15 01:01:16 +00:00
Vadim Zeitlin
1e4095f71d backported changes from gtk/window.cpp rev 1.678 (bug 1531348)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 23:55:25 +00:00
Vadim Zeitlin
91fca3d2bd backported chnage in 1.115 of src/gtk/dnd.cpp (bug 1531348)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 22:50:24 +00:00
Robin Dunn
c25f90f60c Use a swig macro for generating the call to the _setCallbackInfo
function so it's easy to fiddle with, if needed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 22:03:54 +00:00
Robin Dunn
13b955a755 2.7 --> 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 21:52:48 +00:00
Robin Dunn
d5aea13b42 fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-14 21:51:57 +00:00