Commit Graph

1050 Commits

Author SHA1 Message Date
Robert Roebling
85eb36c267 Added support for extra bitmap for toggled tool.
Implemented WarpPointer() and added a test for it
    to controls.
  Some minor documention updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-31 10:47:44 +00:00
Robert Roebling
ddb6bc7126 A bit more Unicode compilation.
Window insertion corrections for window, frame, dialog, mdi.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-30 16:20:42 +00:00
Brian Macy
74295623bb fixed #if !NOPCH to be #if !defined(NOPCH)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-29 15:44:06 +00:00
Vadim Zeitlin
b8e25d73a2 compilation fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-29 00:34:17 +00:00
Robin Dunn
0c35333e9e Made SetFont for wxCheckListBox more intelligent.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-28 17:27:55 +00:00
Robert Roebling
861ccde481 Added fixes for Unicode compilation.
Added WXK_ALT incl test.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-28 16:10:01 +00:00
Robert Roebling
c25ccf85c1 New defines for wxTreeCtrl
Corrections to print preview
  MakeModal behaves sanely now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-28 09:28:38 +00:00
Robert Roebling
ca26177c30 Color cubes now get created on 8-bit true-color
visual as well. (This exists).
  Added MakeModal() to wxFrame.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 19:54:05 +00:00
Robert Roebling
c4208367a1 compile fixes. Vadim ows me a pizza.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 15:37:44 +00:00
Vadim Zeitlin
be9abe3fd0 1. warning in wxDataObject fixed
2. wxProgressDialog got a new style flag and updated docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 13:22:37 +00:00
Vadim Zeitlin
9726da4fd3 1. wxDataObject compilation fixes (can't test if it works right now, sorry)
2. wxProgressDialog ctor has "style" parameter
3. the controls samples now also demonstrates wxUpdateUI events and
wxProgressDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 12:49:40 +00:00
Robert Roebling
082b27986b Small cursor improvements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 09:34:17 +00:00
Vadim Zeitlin
3f480da37c wxPrivateDataObject works under MSW as well (hopefully it still does under
GTK too)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-26 22:39:42 +00:00
Robert Roebling
238d735dc2 Got a new idea to do cursors, including global
ones and busy etc.
  Fixed an assert in UserScaler from PS code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-26 20:40:04 +00:00
Guilhem Lavaux
14906731b1 * Small fix in wxHTTP::BuildRequest
* Introduced wxURL::ConvertToValidURI (to be implemented)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-26 17:17:46 +00:00
Robert Roebling
6db90681cf Made wxClientDC's use safe as per wxMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-26 10:17:56 +00:00
Robert Roebling
053f9cc122 wxScrolledWindow inherits from wxPanel to
make tab travseral work.
  Work around for GTK scrolledwidget bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-26 09:03:25 +00:00
Brian Macy
2917e92043 Cleaned up some warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 23:51:10 +00:00
Brian Macy
bd5dd95757 Move code to a dcbase.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 23:38:48 +00:00
Brian Macy
7740bc4143 Fixed SetForeground and SetBackground declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 23:27:00 +00:00
Vadim Zeitlin
0290598f58 wxCaret now exists not only under MSW but on any supported platform as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 18:01:48 +00:00
Guilhem Lavaux
062c486171 * wxThread fixes
* wxStream fix (Read(wxStreamBase))
* wxEvent: GTK idle loop waking up was actually good, reenabled.
* wxSocket: all features working on Linux/RH6 (including high-level protocols)
       Needs testing on other platforms now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 17:14:56 +00:00
Vadim Zeitlin
4d0f3cd6ac 1. wxNotifyEvent documented
2. wxNotebook event now derives from it under wxGTK too - fixing the
   PAGE_CHANGING event handling bug
3. the controls sample demonstrates PAGE_CHANGING in action


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 13:38:50 +00:00
Robert Roebling
3c679789bd windows emit wxCreateWindowEvent
generic controls use wxINVERT for rubberbands etc
  wxXOR maps to GdkXOR etc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 13:36:09 +00:00
Julian Smart
92b87be518 Reverted corrupt file (may not be in line with Vadim's changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 13:23:09 +00:00
Robert Roebling
29f538cea2 Fixed a notebook crash and added more tests to sample.
Corrected size behaviour of default button.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 10:40:07 +00:00
Julian Smart
794005c0ac Misc small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 09:01:22 +00:00
Robert Roebling
cfb50f14ec Made listctrl header BG grey again
mapped XOR to GdkInvert and vice versa
  No more EVT_TEXT after SetValue()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 23:53:12 +00:00
Vadim Zeitlin
764a3a4906 1. bug fixes in wxCaret
2. wxPoint now has += and -=
3. Validate() takes "wxWindow *" (and not wxWindowBase) again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 21:12:37 +00:00
Robert Roebling
587ce561e1 Rewrote wxNotebook, incl. PAGE_CHANGING event
and InsertPage and internal behaviour more
   like wxMSW. Leaves pixel junk sometimes...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 19:33:05 +00:00
Unknown (BV)
370938d99c Added always-unsplittable style option (wxSP_PERMIT_UNSPLIT)
Added visual feedback on limits for sash-drag
(Fix of previous broken behaviour: now unplits only if min pane size == 0 or
 if always-unsplittable style flag is used.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 16:19:06 +00:00
Unknown (BV)
86434d7115 Added wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 16:19:04 +00:00
Vadim Zeitlin
789295bf7b 1. some minor but nasty bugs fixed (see post to the list)
2. new wxCaret class (MSW only so far)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-23 23:48:12 +00:00
Robert Roebling
6bc8a1c80b GTK 1.0 compilation (not tested)
toolbars can now get inserted in the client
   area as well (as normal windows)
  Menu accels can be functions keys
  Made DialogEd work again (with wxGTK :-) )


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-22 15:13:18 +00:00
Robert Roebling
6b3eb77aec Played a little with sockets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-22 10:11:03 +00:00
Robert Roebling
7b90a8f20d Put wxGTK's threads back to life.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-22 08:01:17 +00:00
Unknown (NI)
b78cd60dc9 Added missing comma
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 21:28:44 +00:00
Unknown (NI)
e9b10d03f2 added constant WXK_NUMPAD_NEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 21:16:00 +00:00
Robert Roebling
eba0e4d417 Made GetLabel/SetLabel() virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 13:28:49 +00:00
Robert Roebling
63cc5d9d20 Fixed typos in window.cpp and utils.cpp
Tried to repair HP-UX compilation thing for iODBC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 12:50:10 +00:00
Vadim Zeitlin
508203b056 HP-UX gcc compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 11:38:59 +00:00
Guilhem Lavaux
dab58492b2 * Added a fix from Allen to wxStringTokenizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 17:44:04 +00:00
Vadim Zeitlin
98216d409f file which undefs symbols ocnflicting with windows.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 22:44:58 +00:00
Vadim Zeitlin
d66a042c1c 1. bug in wxSplitter corrected: mouse event coords may be negative when the
mouse is captured which made sash roll over the window
2. missing functions added to wxRadioBox
3. non existent functions removed from wxRadioBox and wxControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 22:25:41 +00:00
Robert Roebling
93b7364ecd Augmented version to b5
Disabled F10 thing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 17:51:06 +00:00
Robert Roebling
801aa1782c YOu can now activate the menu pressing F10 anywhere.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 13:41:55 +00:00
Robert Roebling
3dfb93fd82 Listctrl should now send char and key_down events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 10:46:48 +00:00
Robin Dunn
46499442ee fixed error about wxFrame::Command not returning a value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 04:41:23 +00:00
Vadim Zeitlin
dabc0cd5c1 ScreenToClient() implemented correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 01:00:57 +00:00
Vadim Zeitlin
42e69d6b43 1. wxMSW seems to work (please test and send your bug reports!)
2. accelerators in the menus a la GTK (actually slightly better) implemented
3. wxSplitter now uses events (and so the code which was broken by recent changes
   works again)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 00:53:27 +00:00