Julian Smart
d2b354f9c9
Printing improvements: GetPageInfo() gets called after the DC has
...
been set and after OnPreparePrinting() has been called so it can
report the number of pages accurately; doesn't try to set
number of pages in print dialog, in common with other Windows apps;
wxHTML easy printing's preview shows number of pages
correctly; preview scrollbars are set correctly; keyboard navigation
improved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-23 20:30:19 +00:00
Vadim Zeitlin
52c14774b3
restore some of the styles; added support for splitters without border/sash to generic renderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 22:12:32 +00:00
Vadim Zeitlin
c37d699a03
wxAutomationObject is not VC++-only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 19:35:46 +00:00
Vadim Zeitlin
559b61bf8c
gave default parameters for wxBrush() ctor from wxColour (this is what is used in 99 of cases...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 20:48:08 +00:00
Vadim Zeitlin
4f53523161
gave default parameters for wxPen() ctor from wxColour (this is what is used in 99 of cases...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:39:34 +00:00
Vadim Zeitlin
8f20ea0391
added wxMirrorDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 19:15:17 +00:00
Vadim Zeitlin
07f20d9a63
added sizers support; allow resizeable wizards (Robert Vazan)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:48:52 +00:00
Vadim Zeitlin
5b087ae258
added wxSize::IncTo/DecTo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:04:22 +00:00
Vadim Zeitlin
f93647859c
added \arg macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-20 20:02:56 +00:00
Vadim Zeitlin
2f7b6734e4
GetFirst/NextChild() now use wxTreeItemIdValue instead of long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 21:40:33 +00:00
Vadim Zeitlin
f363e05c6d
added GetForbiddenChars() and TRUE -> true (patch 757777)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-19 17:06:29 +00:00
Julian Smart
bf95a04f16
Added some standard further identifiers to help with WinCE toolbars
...
Moved wxID_REPLACE to defs.h
Can now add tools to WinCE toolbar, if using standard identifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 16:16:14 +00:00
Vadim Zeitlin
1648d51bcb
allow to change the event propagation level (modified patch 743086)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-18 00:39:05 +00:00
Vadim Zeitlin
520200fd10
added format parameter to File/DirName()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 23:39:28 +00:00
Vadim Zeitlin
fc4fe30871
describe better how to use ssociated mutex
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-17 22:42:36 +00:00
Vadim Zeitlin
dc65f4ff28
updated recursive mutexes description
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-14 23:35:28 +00:00
Mattia Barbon
8f520a56b7
Added and documented wxColourDatabase::AddColour.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-12 20:11:51 +00:00
Vadim Zeitlin
99e8cb505a
GTK_TOOLBAR_BOTH_HORIZ is GTK 2 only (it would have been nice if the patch mentioned this...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 14:06:44 +00:00
Vadim Zeitlin
78ee6a4750
added wxThreadHelper class (patch 756906)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 12:36:05 +00:00
Vadim Zeitlin
53663be8a5
added functions to read/write several elements at once (patch 754986)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 11:47:27 +00:00
Vadim Zeitlin
f9dae7798b
added wxTB_HORZ_TEXT (patch 713813); documented it; moved toolbar styles to toolbar.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 10:53:00 +00:00
Julian Smart
5048c832bb
Applied patch [ 758687 ] RegisterHotkey implemented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-10 09:16:00 +00:00
Vadim Zeitlin
d95525989d
added wxSocket::IPAddress() (patch 694119)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 23:15:00 +00:00
Vadim Zeitlin
2348a84293
made wxTextInputStream Unicode safe and general cleanup (patch 653775)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-09 22:55:57 +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
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
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
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
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
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