Robin Dunn
cdc77b67db
Added #if TARGET_CARBON around shaped window stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 21:29:39 +00:00
Julian Smart
0b7bf40bbc
Make sure grid elements have no borders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:29:18 +00:00
Václav Slavík
21f9c5560d
fix for multiple initialization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 19:03:10 +00:00
Robin Dunn
268df712a3
Binary compatible almost correct workaround for failure to merge the
...
m_overflow flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:47:51 +00:00
Julian Smart
1b4c5c70bb
More style issues
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 16:07:36 +00:00
Julian Smart
0842947f77
Fix some style glitches
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 15:00:06 +00:00
Julian Smart
41350749c7
Add WS_VISIBLE style so controls actually show up
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 13:58:16 +00:00
Robert Roebling
9426087491
Second attempt to use bitmap menus under GTK2. This
...
creates a memory leak since GTK2 expects a static
bitmap and we have to create it on the fly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 09:36:14 +00:00
Julian Smart
c5d4a908ee
Backported the window border improvements to 2.4.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 08:36:40 +00:00
Julian Smart
f32edf89b1
Compilo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 19:14:17 +00:00
Robert Roebling
c69021d8cd
Added menu bitmaps to GTK2.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 14:28:40 +00:00
Robert Roebling
1daf3f08fd
splitter mini fix upported from HEAD.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:23:33 +00:00
Robert Roebling
5e0701b3a5
Adapted GLCanvas to GTK2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-06 07:01:14 +00:00
Robert Roebling
76e0d41aaf
Cleaned the mess in wxSplitterWindow::OnMouse()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 08:36:50 +00:00
Robert Roebling
d05cabeedc
Removed surplus enter/leave events after mouse capture/release.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-05 08:35:36 +00:00
Julian Smart
ff27cad84b
Initialised m_isBeingDeleted -- I don't know how anything
...
worked without it...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 21:09:58 +00:00
Julian Smart
e71d7ac230
Setting state to STATE_NEW in wxThread::Create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 20:51:09 +00:00
Julian Smart
f09eff9aea
Applied updated patch [ 731719 ] Owner draw font leak/overuse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 17:12:58 +00:00
Julian Smart
4ff30320ce
Added defined() to directive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 15:50:27 +00:00
Mattia Barbon
8b061b2af9
Fix for the fact that unmapped but managed widgets
...
intercept mouse events even if they are not visible. (backport)
Set/reset MappedWhenManaged flag when showing/hiding a window,
otherwise, since some common operations (moving, adding items to a
listbox, ...) do a Unmanage-Manage pair, calling Hide and then
(for example) SetSize would show the window again. (backport)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 12:27:46 +00:00
Mattia Barbon
9ac09df9c6
Pass events to pushed event handlers. (backport)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-04 12:25:03 +00:00
Robin Dunn
6f9fbb55ab
Reversed the meaning of black and white in wxRegion::ConvertToBitmap
...
so it matches the menaning of black and white in wxMask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 17:56:30 +00:00
Julian Smart
f9940dab60
Applied [ 731578 ] wxThread state bugfix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:41:57 +00:00
Julian Smart
9fe6f6c258
Applied patch [ 726350 ] wxGrid - MovePageDown()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:17:38 +00:00
Julian Smart
c7e25919c6
Applied patch [ 731846 ] GTK Print Options
...
Print options were omitted from print command
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 15:11:55 +00:00
Julian Smart
0fb551a0a2
Applied patch [ 731195 ] More #if/#endif's to build a smaller library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 13:50:04 +00:00
Julian Smart
e0754b1233
APplied patch [ 731719 ] Owner draw font leak/overuse
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 11:58:18 +00:00
Vadim Zeitlin
2c439fe7b6
compilation fix when WXUNUSED(arg) == arg
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 22:53:59 +00:00
Vadim Zeitlin
fb04fd266a
better handling of transparent colour in wxImage conversion (patch 726208)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 20:12:36 +00:00
Vadim Zeitlin
8497a90d5c
set the index for BEGIN_DRAG events (patch 726308)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-01 19:38:42 +00:00
Václav Slavík
a9c1f709af
fixed Norwegian Bokmal code to conform to new ISO 639-2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 22:48:01 +00:00
Julian Smart
8612f8167b
Allow for +/- in the E part
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 12:41:14 +00:00
Julian Smart
98f8dcdab6
Allow 'e' or 'E' in numeric text.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 09:43:03 +00:00
Robin Dunn
a16bcfcef2
Shaped window support for wxMac, plus a wxSTAY_ON_TOP fix from Egon
...
<e_lub@yahoo.com > wxMac requires knowledge before Create that SetShape
will be called so I also added the wxFRAME_SHAPED style flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-30 00:39:15 +00:00
Robin Dunn
e2a07240ee
SF Patch #728691 , dangling pointer fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 18:44:27 +00:00
Julian Smart
146dd475ae
Fixed [ 728819 ] memory leak in ipcbase.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 10:33:05 +00:00
Vadim Zeitlin
bf0793e2bb
*really* fixed searching in sorted arrays
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 21:24:36 +00:00
Robert Roebling
e9e466c134
timer no longer returns IsRunning() after a
...
one shot timer has fired.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-27 21:18:17 +00:00
Stefan Csomor
3728b81a27
backpatch for activate error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 20:32:05 +00:00
Stefan Csomor
146afc4d24
moving rollover check, was causing hangs upon termination in case ->top was 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-26 20:26:13 +00:00
Vadim Zeitlin
e275abbd9b
fixed bug recently introduced in wxSortedArray::Index()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-25 11:50:56 +00:00
Robert Roebling
4115304e1f
Another try to fix the enter/leave freeze while in capture.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-24 17:39:45 +00:00
Robin Dunn
376b7bd99e
wxCHECK for valid menu in DoPopupMenu (SF Bug# 722230)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:11:32 +00:00
Robin Dunn
2695ce5a87
Prevent a Gtk-CRITICAL message when Remove()ing a menu from a menubar
...
that has submenus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 21:08:42 +00:00
Robert Roebling
0f20644152
Typo in mouse event code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-23 06:37:05 +00:00
Robin Dunn
94095266a7
Updated Scintilla to 1.52
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-19 19:56:54 +00:00
Vadim Zeitlin
09c5557e7a
removed (duplicated) wxArrayPages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 18:48:45 +00:00
Chris Elliott
e216a18080
fix typo in makefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 16:28:59 +00:00
Vadim Zeitlin
e5503d67f9
removed wxCHOICEDLG_DIALOG_STYLE, use only wxCHOICEDLG_STYLE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-18 10:48:35 +00:00
Robin Dunn
4a1a1d848d
Ensure that submenus are also added to the system when their parent
...
menu is used in a wxMenuBar::Repalce call.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-17 20:06:17 +00:00