Commit Graph

2168 Commits

Author SHA1 Message Date
Julian Smart
18afa2acbe Removed overloaded DoMenuUpdates function since it duplicated
wxMenu::UpdateUI()
Removed routing of menu commands to focus window under Windows
Added routing of menu commands (but not UI updates, for
efficiency reasons) to wxMenuBar before sending to frame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 14:20:30 +00:00
Julian Smart
3c9676eabf Fixed missing bracket
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 11:00:40 +00:00
Julian Smart
e39af974ef - Moved wxApp::SendIdleEvents and wxApp::ProcessIdle into common code.
- wxWindow::OnInternalIdle is now used in all ports, and ensures that
  user OnIdle events do not interfere with crucial internal processing.
- wxWindow::UpdateWindowUI is now a documented function that
  sends wxUpdateUIEvents, and can be overridden. It has a helper function
  DoUpdateWindowUI for taking appropriate wxUpdateUIEvent action.
- Added functions to wxUpdateUIEvent: Set/GetMode, Set/GetUpdateInterval,
  CanUpdate, to assist with optimising update event frequency.
- Added functions to wxIdleEvent: Set/GetMode, CanSend, to
  determine whether a window should receive idle events.
- Added wxWS_EX_PROCESS_IDLE, wxWS_EX_PROCESS_UI_UPDATES window
  styles for use with conservative idle and update event modes.
- wxMSW and wxGTK now send menu update events only when a menu is
  about to be used.
- Added WM_INITMENU processing instead of WM_ENTERMENULOOP, or
  accelerators don't always get called since menu items may still
  be disabled.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 10:15:21 +00:00
Vadim Zeitlin
a647d42abc added support for wxALWAYS_SHOW_SB (finally closes patch 410865 -- first still opened...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 23:14:02 +00:00
Vadim Zeitlin
35821d8fe0 deprecated and removed from our code GetUseCtl3D()/TransparentBackground()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 23:02:14 +00:00
Mattia Barbon
df5168c427 Added --use-stl to cnfigure, wxUSE_STL to setup0.h
Moved wx/datetime.inl contents to wx/datetime.h and removed
inline redefinition hack.
  Implemented STL-like interface on top of wxList/wxArray, when wxUSE_STL=0.
  Implemented wxList-like and wxArray interfaces on top of std::list and
std::vector, when wxUSE_STL=1.
  Added arrstr.h, moved wxArrayString declaration there; string.h
#includes arrstr.h only if WXWIN_COMPATIBILITY_2_4 is enabled.
  Added WX_CLEAR_HASH_MAP, WX_CLEAR_HASH_TABLE, WX_CLEAR_LIST macros,
to clear a wxHashMap, wxHashTable, wxList containing pointers: deletes
pointers and makes container zero-sized.
  When wxUSE_STL=1, wxStringList works like a std::list<wxString>.
  Made wxBase compile when wxUSE_STL=1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 19:52:35 +00:00
Vadim Zeitlin
aaaa609fa3 backport wxListCtrl::Refresh() fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:20:42 +00:00
Vadim Zeitlin
2f1e3c464c Refresh() didn't work as it wasn't passed to subwindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-08 11:19:10 +00:00
Vadim Zeitlin
f65a450a11 document the functions sending page changing events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:59:15 +00:00
Vadim Zeitlin
9b9d4651ae mention that OnInit/Exit() should be used instead of wxApp/~wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 11:14:19 +00:00
Václav Slavík
41524ffcc6 applied modified UTF-8 locales patch (766893)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-07 08:28:44 +00:00
Vadim Zeitlin
a03cac3f78 don't east 100% of CPU when showing popup menu (patch 762500)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 23:26:19 +00:00
Vadim Zeitlin
b19d494be1 documented Fit() brokenness if sizers are not used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:54:08 +00:00
Vadim Zeitlin
36b721632e wxNotebook::HitTest() for wxMSW added (patch 748469)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:13:00 +00:00
Vadim Zeitlin
e450aa692b wxNotebook::HitTest() for wxMSW added (patch 748469)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 21:02:24 +00:00
Julian Smart
fa10c70ceb Added wxHtmlPrintout::AddFilter so the same filters used for
viewing HTML can be used for printing it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-06 17:52:42 +00:00
Mattia Barbon
d4c92f55d4 Updated wxArrayString documentation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 22:01:56 +00:00
Mattia Barbon
ba8c160144 Moved some methods/classes inside COMPATIBILITY_2_4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 21:59:55 +00:00
Vadim Zeitlin
aa4b42f0b7 fixed a typo in IsExposed, put SetValidator in correct (in alpha order) place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 19:12:55 +00:00
Vadim Zeitlin
f6e7cd0a19 fixed comment and docs for GetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 09:58:36 +00:00
Vadim Zeitlin
90e3949c04 use GetSize() instead of deprecated StreamSize() in the examples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-03 09:56:57 +00:00
Vadim Zeitlin
002568cc7f documented wxUSE_GUI/BASE and __WXBASE__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-01 14:48:27 +00:00
Julian Smart
97e1d37c96 Documented event sink
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 13:35:55 +00:00
Vadim Zeitlin
db882c5431 added wxCRIT_SECT_DECLARE_MEMBER
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-30 01:18:10 +00:00
Vadim Zeitlin
5455e22751 added release()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 15:44:08 +00:00
Vadim Zeitlin
789bdf9b18 documented wxIsMainThread() and other thread-related stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 11:52:16 +00:00
Vadim Zeitlin
12b55afaf3 corrected link in see also
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-29 11:51:42 +00:00
Vadim Zeitlin
497b8e091e added RefreshItem[s]()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-27 21:15:05 +00:00
Vadim Zeitlin
1e0af0bcda added EstimateTotalHeight
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 15:39:24 +00:00
Julian Smart
ae500232a4 Added m_ prefix to wxColourData and wxFontData members for consistency.
Fixed some typos in comments.
Fixed wizard constructor doc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-26 13:15:12 +00:00
Roger Gammans
a1c7887200 correct documentation for wxEVT_GRID_SELECT_CELL and wxEVT_GRID_CELL_CHANGE
events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-25 17:33:22 +00:00
Vadim Zeitlin
335f20cb00 wxTINY_CAPTION_XXX are obsolete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 22:47:45 +00:00
Vadim Zeitlin
e2478fde62 wxBase/GUI separation: 1st step, wxMSW should build, all the rest is broken
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-24 00:56:19 +00:00
Vadim Zeitlin
d512306c0b deleted non existing Cancelled() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 19:47:12 +00:00
Vadim Zeitlin
da0766ab2a GetIcon() returns wxIconLocation, not wxIcon, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-23 13:49:24 +00:00
Vadim Zeitlin
6b7993a952 Fixed typo in cmdline option name; TRUE / FALSE -> {\tt true} / {\tt false} (patch 757770)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 23:02:49 +00:00
Vadim Zeitlin
62313dec27 missing backslash before underscore (patch 758143)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 23:01:11 +00:00
Vadim Zeitlin
bf43ff9a90 LaTeX2e fixes (patch 748118)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 22:20:40 +00:00
Vadim Zeitlin
55f9f0cbc8 support Show() in wxFlexGridSizer (patch 737850)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 22:08:13 +00:00
Vadim Zeitlin
e1720942b0 fix VC 7.x release build problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 16:13:47 +00:00
Vadim Zeitlin
32b38f99ce GNU/Hurd patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 12:48:38 +00:00
Vadim Zeitlin
b3e6525497 added missing default value for pos parameter in ctor/Create
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-22 11:04:13 +00:00
Vadim Zeitlin
aaf7ab431b added wxIconLocation; minor fixes to wxIcon on some platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-21 13:39:40 +00:00
Julian Smart
e00a5d3ca1 Extended wxTextAttr and added wxTextCtrl::GetStyle stub
allow better rich text support.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-20 16:25:31 +00:00
Vadim Zeitlin
a434b43fd4 added wxIsDebuggerRunning() (which is going to replace the mess in log.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-19 23:31:19 +00:00
Vadim Zeitlin
dc6c9679d6 wxComboBox doesn't (officially) derive from wxChoice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 21:36:51 +00:00
Julian Smart
dd27a3bd76 Added extra wxGLCanvas documentation from
Davide Pasquini <davide.pasquini@fastwebnet.it>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-18 09:20:46 +00:00
Julian Smart
01ebf75203 Platform and compiler-specific checking for MSW and Mac now done
in wx/xxx/chkconf.h.
Removed some very obsolete settings, and MSW-specific settings
from Mac's setup0.h.
wxTimer now derives from wxEvtHandler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-16 12:31:45 +00:00
Julian Smart
bd582574c2 Added wxMenuBase::FindItemByPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 19:44:54 +00:00
Vadim Zeitlin
9505511c59 removed duplicated stuff in Delete() docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-06-14 16:55:35 +00:00