Vadim Zeitlin
36202885d4
fix for discrepancies between wxNotebookEvent and wxNotebook GetSelection() results
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 14:01:02 +00:00
Julian Smart
92f5ff59cc
Replaced typedef with #define for VC++ 1.5, to prevent 'no constructor' error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-22 10:56:54 +00:00
Vadim Zeitlin
6d5b2a57cf
tried to fix the accel string drawing in the owner drawn menu items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 23:58:58 +00:00
Vadim Zeitlin
7561aacd5e
fix for releasing the HDC in WM_DRAWITEM handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 23:10:31 +00:00
Vadim Zeitlin
5260937e74
(blind) fix for joystick compilation problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 22:49:40 +00:00
David Webster
2910855229
Visualage fixes for Stefan's socket implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 20:29:42 +00:00
Ron Lee
c3302e7e29
Default wxDateTime objects are now 'invalid',
...
changed wxDefaultDateTime definition to suit.
Removed IsValid asserts from Set methods.
Fixed broken test for validity that was checking
m_time directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 19:03:33 +00:00
Vadim Zeitlin
889f0b7c67
fixed wxComboBox sizing problem again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-21 00:16:35 +00:00
Stefan Neis
3958ae62ba
Updated gsocket.c to current unix version, use gsockunx.h instead of gsockos2.h
...
Added gsockpm.c.
Hooked socket handling into main loop.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 13:25:28 +00:00
Václav Slavík
5d5b1c0ce0
fixed WX_APPEND_ARRAY and WX_CLEAR_ARRAY when used with dereferenced pointers (*array)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-20 11:56:20 +00:00
Vadim Zeitlin
18c5099700
1. more proper fix for wxChoice/wxComboBox height problems than in 2,2 branch
...
2. wxIsspace() fix merged from the 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 01:01:21 +00:00
Vadim Zeitlin
353327844e
added wxDir::Traverse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-19 00:58:05 +00:00
Julian Smart
fdca68a670
Implemented OnParentEnable to allow widgets to reset their colours
...
after a wxWindow::Enable call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:58:05 +00:00
Vadim Zeitlin
36bd690299
added wxLog::ClearTraceMasks()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-17 10:11:34 +00:00
Václav Slavík
52f96deca1
removed wxImage::operator wxBitmap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 22:07:39 +00:00
Gilles Depeyrot
f9d3748bc0
corrections for Mac OS X Developer Tools
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 21:20:50 +00:00
Stefan Csomor
3dec57adfd
icon support moved to wxBitmap, allowing for fully transparent usage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 16:23:13 +00:00
Vadim Zeitlin
19d7140ec2
applied patch 415912 (fixing problems with wxGrid attrs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 13:20:31 +00:00
Julian Smart
69231000be
Applied patch #421554 : implementation of wxEVT_CONTEXT_MENU
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-16 11:32:21 +00:00
Vadim Zeitlin
f5cd97870d
warning fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 21:28:04 +00:00
Julian Smart
788722ac5c
Fixes for 16-bit compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-14 16:13:12 +00:00
George Tasker
1b12ab1641
Added support more support for DB2
...
Added support for PervasiveSQL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-11 20:24:53 +00:00
Gilles Depeyrot
9fbbbd40d1
added PM_USE_SESSION_APIS for Carbon compilation under Mac OS 9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 20:43:31 +00:00
Guillermo Rodriguez Garcia
27a97d02eb
Private gsocket files were using 'typedef int bool', removed this
...
and replaced by true ints. Currently this was not causing any problem
but it is better to avoid bool at all in C code as a matter of good
coding practice.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 06:31:39 +00:00
Stefan Csomor
b668a73527
corrected a bug in dc which resetted the port , exchanged the wxchoice implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-10 05:27:07 +00:00
Václav Slavík
1c6466854c
compilation fix for apps w/o precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 22:37:27 +00:00
Robin Dunn
d2520c85b0
Added accessors for the sub-windows in the wxGrid.
...
Added methods to get/set the pen width used for the current cell
highlight, bot normal and read-only.
Fixed (I think) the problem of the cell highlight leaving extra lines
behind when the grid lines are turned off
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-09 22:31:17 +00:00
Václav Slavík
2e9760c0ee
removed wxUSE_XPM_IN_MSW from setup0.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 22:30:26 +00:00
Václav Slavík
ea39b21033
switched to new XPM code in wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 22:29:49 +00:00
Václav Slavík
badb78928f
fixed typo in pragma implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 22:26:58 +00:00
Stefan Csomor
cf1a9b45c7
wxRadioBox fixed on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 19:13:45 +00:00
Vadim Zeitlin
615dca338b
fixed wxColour::operator==
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 18:43:54 +00:00
Gilles Depeyrot
f87a708b14
added const for Mac OS X compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 18:31:36 +00:00
Stefan Csomor
0eaa1d68c2
changed port handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 16:08:09 +00:00
Vadim Zeitlin
aaa63f666a
try to autodetect Win32 macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 15:12:00 +00:00
Gilles Depeyrot
b7d667c57b
added CreateFromXpm method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 14:01:50 +00:00
Gilles Depeyrot
10d3680f1a
removed duplicated friend declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 13:29:54 +00:00
Stefan Csomor
0a67a93b17
mac fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 07:29:46 +00:00
Vadim Zeitlin
bf505d2855
correct fix for Maximize() for hidden frames
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-08 01:09:21 +00:00
David Webster
c8b5f745c4
More scrolling work.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-07 22:17:12 +00:00
David Webster
1c84ee88f6
Support for scrolling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-07 04:17:46 +00:00
Robin Dunn
37d6243357
Added MouseWheel support to wxSTC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-06 01:20:41 +00:00
Václav Slavík
576507e276
added new wxHF_xxxx contants to control wxHtmlHelpFrame's appearance (book icons in contents)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-05 18:05:57 +00:00
Václav Slavík
960ba969f9
1. changed AddSharedProcessor to AddGlobalProcessor
...
2. Added wxHtmlProcessor::Enable and IsEnabled
3. fixed fatal bug in wxHtmlWindow::Add[Global]Processor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-04 23:54:01 +00:00
Václav Slavík
219a5f10c0
added wxHtmlHelpController::GetHelpData and removed SetBookBasePath (you can use GetHelpData() for same effect)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-04 23:52:46 +00:00
Robin Dunn
d2c52078dc
Added mouse wheel support for MSW. It generates a wxMouseEvent with a
...
type of wxEVT_MOUSEWHEEL.
wxMouseEvent has new members and accessors to transport mouse wheel
rotation data. New members and accessors are documented.
wxGenericScrolledWindow modified to turn mouse wheel events into
scroll actions.
Added wxUSE_MOUSEWHEEL to setup0.h to allow disabling the platform
specific parts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-04 07:26:30 +00:00
Kendall Bennett
bfb9ee966d
Fixed Windows DLL link problems with wxHtmlProcessor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-03 20:34:23 +00:00
Kendall Bennett
025292e998
Removed applet code from src directory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-03 17:28:32 +00:00
Václav Slavík
892aeafc2a
1) some cleanup in wxHtmlWindow, moved private structures out of headers
...
2) added wxHtmlProcessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 23:08:47 +00:00
Kendall Bennett
54921697ae
Initial check in of wxApplet code to CVS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-05-02 20:59:28 +00:00