Mart Raudsepp
b0c43acc87
wxGTK2: gtk_signal_disconnect_by_func isn't used anywhere anymore. Nuke prototype from gtk/private.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 23:44:40 +00:00
Robin Dunn
49102d7bd0
Added the wx.HVScrolledWindow class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:43:28 +00:00
Robin Dunn
1ad0de842d
Treat Ctrl-Shift-Backspace the same as ESC in the shell.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:41:10 +00:00
Robin Dunn
c32253089b
Prevent using a bad tree item.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:40:57 +00:00
Robin Dunn
4424b2a116
Added the wx.HVScrolledWindow class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 21:37:24 +00:00
Vadim Zeitlin
f3a69d1df1
gcc initializer order fix warning (patch 1432835)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 18:16:57 +00:00
Mart Raudsepp
0c83d5ef4b
wx_gtk_vmsjackets.c seems to not be used by anything these days. Delete on both wxGTK ports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-18 13:49:53 +00:00
Vadim Zeitlin
bcc1153a9e
compilation fix for old SDK headers (such as shipped with VC6)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-17 21:25:05 +00:00
Roman Rolinsky
6165053b84
Fixed Cut command, added support for MenuBar inside Frame/Dialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 17:19:39 +00:00
Vadim Zeitlin
eb3efe0d4b
compilation fix after removing wxImage(wxImage *) ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 14:12:02 +00:00
Robert Roebling
5985c07ce0
Allow tabbing in wxRadioBox.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 11:26:03 +00:00
Robert Roebling
4c20ee63f0
Use g_signal_connect_after for GTK+ native controls
...
and wxTopLevelWindow focus events and the normal
_connect for custom controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 09:00:45 +00:00
Julian Smart
f01bca89fd
Applied patch [ 1431955 ] Fixes wxSocket* _Wait/Select
...
From Angel Vidal Veiga
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 08:53:35 +00:00
David Surovell
3025abca05
cleanup - reformatting (pt 2)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 06:16:56 +00:00
Robin Dunn
06336f51bb
Added GetToolsCount
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 03:07:20 +00:00
Robin Dunn
a3e9caa2b5
Fix for Bug #1432054 : ToolBar controls not removed by ClearTools
...
Use DeleteTool in ClearTools instead of just destroying the internal
list, so the toolbar is kept fully in sync with the removal of all
tool types. Also fix wxMSW version to actually Destroy() the controls
when they are deleted from the toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 03:03:43 +00:00
David Surovell
3b6a117962
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-16 01:03:29 +00:00
Michael Wetherell
b26ed94e4f
The cyrillic characters used in the CaseChanges() test have different values
...
on different platforms depending on the cyrillic character set used. So try
generating these from the Unicode instead of using fixed values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 21:16:45 +00:00
Michael Wetherell
0c09451870
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 21:16:10 +00:00
Mart Raudsepp
f1e57cb96f
Revert. Crashes single-line wxTextCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 20:14:12 +00:00
Mart Raudsepp
4adf7c2be5
Connect focus_out_event handler before the default handler, as to suppress queue_draw when appropriate, that the
...
default one does.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 20:09:10 +00:00
David Surovell
cc374a2f29
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 19:59:27 +00:00
David Surovell
1089fc00cd
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 16:31:05 +00:00
Mart Raudsepp
f7108f16cc
Use correct type for storing return value. gboolean instead of bool.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 15:49:09 +00:00
Vadim Zeitlin
ed5bc8f1bf
return non-numpad key codes from wxCharCodeMSWToWX() if it is called with lParam==0 (this happens only when it's not called from WM_KEYDOWN/UP/CHAR handler and so we don't have information about which key was really pressed)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 15:04:04 +00:00
Vadim Zeitlin
b1ac62dda7
fixed USE_QA_DEFAULT usage (bug 1431952)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 14:57:41 +00:00
Mart Raudsepp
aaf53059fe
Wrap the warning suppress of SetSize around #ifndef WX_WARN_ILLEGAL_SETSIZE.
...
configure with CFLAGS="-DWX_WARN_ILLEGAL_SETSIZE" when wanting to deal with the problem and therefore see the
warnings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 14:26:53 +00:00
Mart Raudsepp
f3a5f83a66
The return types for enter/leave-notify-event and focus-in/out-event handlers are gboolean, not gint
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 14:01:20 +00:00
Robert Roebling
0050e023dc
The focus handling change in wxTopLevelWindows broke
...
a few things.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 13:26:28 +00:00
Michael Wetherell
1d805c1468
Fix for 64-bit systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:59:37 +00:00
Michael Wetherell
fec7aeabc1
Check encoding names case insensitively
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:58:50 +00:00
Robert Roebling
628bad7560
Alter focus handling to disable GTK+ standard
...
behaviour for custom controls (non native
controls) so that window is not invalidated
after focus in and out. Leave native control
alone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:10:47 +00:00
Robert Roebling
d77836e48c
Applied wxVScrolledWindow patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:59:39 +00:00
Jouk Jansen
93d3dbd4b3
Committing in .
...
first version of wxGTK2 for OpenVMS. At present for debugging only.
Modified Files:
wxWidgets/descrip.mms wxWidgets/setup.h_vms
wxWidgets/contrib/src/deprecated/descrip.mms
wxWidgets/samples/minimal/descrip.mms
wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk/descrip.mms wxWidgets/src/html/descrip.mms
wxWidgets/src/unix/descrip.mms wxWidgets/src/xml/descrip.mms
wxWidgets/src/xrc/descrip.mms
Added Files:
wxWidgets/lib/VMS_GTK2.OPT
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:33:40 +00:00
Robert Roebling
cbab6fe5ff
Reenable wxFULL_REPAINT_ON_RESIZE line.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 09:02:58 +00:00
Roman Rolinsky
57c48fc465
OnReplace not yet undoable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 23:06:34 +00:00
Robin Dunn
1225122523
make the stay-on-top mode controlled by a command-line parameter
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:15:24 +00:00
Robin Dunn
b1fcee843e
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:13:50 +00:00
Robin Dunn
e17b4db3f8
Applied patch #1431193 : work around for recent fileuri change in mediactrl + fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 22:04:49 +00:00
Roman Rolinsky
126080e46c
update of Paste command, new revision
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 21:08:02 +00:00
Roman Rolinsky
1893848ef7
fix for memory leak in paste
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 20:58:11 +00:00
Robert Roebling
67cbdfc150
More experimenting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 13:54:51 +00:00
Mart Raudsepp
9a71e770e1
Cast to void* before casting to Node** to make the compiler do no strict-aliasing assumptions, and suppress a warning
...
if -fstrict-aliasing (enabled with -O2, -O3 and -Os unless forced off as is planned for the time being) is used.
See http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/70262 for details.
Also return NULL instead of 0 in the same GetNodePtr, as the return type is a pointer, not integer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 09:21:37 +00:00
David Surovell
f2b8291a28
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 06:54:06 +00:00
David Surovell
0ce0b76b50
cleanup - reformatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 04:41:07 +00:00
Kevin Hock
8dc6614e60
Fix wxComboBox constructors after keyboard access commit, not all constructors were setting the parent container pointer. Added Init method and put all the constructors together in the header (rather than being split between h and cpp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 04:00:39 +00:00
Vadim Zeitlin
e6b1317b79
modified custom draw code to fully draw the items using a font with encoding different from the system one as the native list control ignores the font encoding; seems to finally work somehow but there is still horrible flicker as the items seem to be redrawn on every mouse move over them, no idea how to avoid this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-14 03:49:20 +00:00
Michael Wetherell
4077791b7f
Fix for reversed masks on displays with 8-bit depth, reported in patch 1219989.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 22:12:33 +00:00
David Surovell
51c4d2a5a0
cleanup - refomatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 21:44:48 +00:00
Vadim Zeitlin
8f14114792
declare lists as exported, seems to be necessary in VC5 DLL builds and shouldn't hurt elsewhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-13 21:20:26 +00:00