Compare commits

...

1049 Commits

Author SHA1 Message Date
Bryan Petty
6905155713 This commit was manufactured by cvs2svn to create tag
'BC5_SNAPSHOT_LATEST'.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/tags/BC5_SNAPSHOT_LATEST@2596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-30 05:49:49 +00:00
Brian Macy
f3bd1796ca IMHO these are the correct flags for borland
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-30 05:49:49 +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
Julian Smart
0c08906562 Added rc and def files for new samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-28 14:54:01 +00:00
Robert Roebling
012a03e092 Small correction to list ctrl and default button size.
text ctrl doesn't inherit BG colour anymore
  added missing file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-28 10:30:57 +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
Julian Smart
eebc8b5e75 Added dcbase target to various makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 20:39:35 +00:00
Julian Smart
410cb77e91 Added some makefiles for caret, scroll and drawing samples.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 20:38:29 +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
00a395425c Corrected SetItemState() in listctrl
Added test for this to scroll sample.
  Didn't find reason for strange positioning of
    progress dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 18:08:50 +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
Robert Roebling
6453876e12 Doc updates.
Minor dc change.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-27 13:14:45 +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
Vadim Zeitlin
dcd6b914e5 validators now validate again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-26 12:39:50 +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
dbe949828d Move some functions from header into here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 23:40:30 +00:00
Brian Macy
f0218e9a22 Added dcbase.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 23:39:20 +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
a8f2578758 wxCaret MSW bug fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 23:07:41 +00:00
Robert Roebling
01eaf507af "Corrected" logical function in wxDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 19:59:36 +00:00
Vadim Zeitlin
30d7f785a5 caret.cpp included
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-25 18:02:36 +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)
255d88eb5d Updated splitter docs to describe new wxSP_PERMIT_UNSPLIT style and
wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED splitter event type.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 17:51:44 +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
Robert Roebling
d872b8a926 Empty notebooks show up again. I'm afraid this
might sometimes crash with GTK 1.2.0/1.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 14:03:08 +00:00
Guilhem Lavaux
0aca1ded9c wxFileIn/OutputStream fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 12:05:30 +00:00
Robert Roebling
94129723b9 Hardcode colours in systems settings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-24 11:37:01 +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
Vadim Zeitlin
c52d95b412 more MDI features tested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-23 23:45:47 +00:00
Vadim Zeitlin
7f539e8a66 corrected MSW-specific bug (in the sample, not the scrolling code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-23 23:43:59 +00:00
Robert Roebling
1601ab7a28 Now wxYield() calls wxApp::ProcessIdle() which also
entails that wxYield() will flush events that have
   been sent from other threads. I don't know what
   wxMSW does here, but I guess the same wouldn't be
   bad.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-23 19:33:16 +00:00
J. Russell Smyth
e459f82d01 repaired recently broken framelayout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-23 18:54:27 +00:00
Robert Roebling
86fdd27b45 Compile fix for GTK 1.0
wxOleStream added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-23 18:37:02 +00:00
Guilhem Lavaux
48da7d0ba8 * wxSocket seems to work with the async requester turned off.
Two things to fix:
       * async requester bug
       * GTK/GLIB idle loop wake up
  URL/HTTP/FTP/SocketServer/SocketClient seems to work (well, they work
  on my computer).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-23 16:09:45 +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)
286cb97fcf Improved keypress handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-22 03:01:45 +00:00
Unknown (NI)
f3c65ce6a7 Improved keyboard handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-22 02:55:42 +00:00
Vadim Zeitlin
e939abfd38 msg catalog code bugfix for 64 bit platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 22:43: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)
218847660e Fixed handling of keypress WXK_NUMPAD_NEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 21:22:36 +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
fc5a93cd09 GetItem() doesn't ignore column number any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 11:39:56 +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
J. Russell Smyth
3135da7134 documented wxCONFIG_USE_RELATIVE_PATH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-21 05:03:04 +00:00
Vadim Zeitlin
7f68042c44 mysterious radiobox bug finally fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 22:53:09 +00:00
Vadim Zeitlin
65e782405b bugs in splitter docs corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 22:17:04 +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
Robert Roebling
326f9654d2 GtkMyFixed is now more "GTK 1.2.3 ready".
Test added to notebook sample (showing that GTK
  1.2.3 is not GTK 1.2.3 ready).
  Touched frame?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 14:32:04 +00:00
Ove Kaaven
2027288898 Unicode compilation fix for find_*_of()
(I might be back at work committing other fixes soon,
but probably not before tomorrow at least.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 11:11:46 +00:00
Robin Dunn
9145664b28 wxScrolledWindow for wxMSW is now getting wxScrollWinEvents and are
scrolling again.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 06:08:28 +00:00
Unknown (BV)
53f7bea59c Added a reference to the splitter event class and macros.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 04:25:13 +00:00
Unknown (BV)
e4bbf3c2b9 Added the rest of the wxSplitterEvent class interface docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 04:24:14 +00:00
Unknown (BV)
bc79aa6b22 Fix bug in which splitter would not close if sash pulled to one edge
of window when minimum pane size != 0.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-20 04:22:38 +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
Brian Macy
9f104fbfce Changed [] parameters to be unsigned.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 17:40:01 +00:00
Karsten Ballüder
11604fb890 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 16:47:38 +00:00
Vadim Zeitlin
43191e0c5a wxThread::Entry documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 13:46:17 +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
Robert Roebling
ea5c6ca7f7 Corrected tree ctrl behaviour.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 10:27:11 +00:00
Robert Roebling
74505862d0 Updated distrib.
Corrected listbox dclick.
  Modified char/key event stuff.

  Added WXWIN_COMPATIBILITY_2 = 1 to setup.hin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 09:08:27 +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
5ad998f280 notebook creation bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 01:15:40 +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
Robert Roebling
f0492f7d97 More key event work. Added SetDetectableAutoRepeat.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 19:35:33 +00:00
Brian Macy
25dd56b1d3 Fixed some compile errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 19:08:28 +00:00
Karsten Ballüder
e0eeb9b3e7 minor progress bar fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 16:29:19 +00:00
Karsten Ballüder
57bff99cf4 highlighting fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 16:28:37 +00:00
Robert Roebling
04f90a8ce6 No longer emit char events for shift/ctrl presses.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 15:30:56 +00:00
Karsten Ballüder
891ad68ff5 fixed an over-optimisation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 15:13:16 +00:00
Karsten Ballüder
974a5cccc1 Merged in from Mahogany. A bit better and safer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 15:05:29 +00:00
Vadim Zeitlin
fac2987b2f isascii changed to isprint for better logging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 14:52:21 +00:00
Robert Roebling
7a30ee8f2c Correxted myfixed widget to prevent warnings from GTK
Changed listbox dclick emission


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 14:49:18 +00:00
Vadim Zeitlin
0a7723227a char/key events testing added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 14:47:28 +00:00
Vadim Zeitlin
907f37b35b DeleteAllPages() bug corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-18 13:35:22 +00:00
Robert Roebling
1a6ed3711f Removed an #ifndef __WXGTK__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 19:35:26 +00:00
Robert Roebling
c5b42c871b Use wxScrollWinEvent instead of wxScrollEvent in
wxWindow and wxScrolledWindow. This breaks all ports!
  Added Layout() call to wxSplitter.
  wxDialog at least tries to set its position before its
    shown.
  wxGTK now emits char/key events as wxMSW does.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 19:17:28 +00:00
Guilhem Lavaux
9111db6802 * prgodlgg.h: Update() use wxString instead of 'char *'
* wxThread: fixes (all should work fluently now)
* wxSocket: it is at last usable on my computer
     GTK/GLIB problem : reenabling the idle event propagation causes very
     strange problem (Instruction pointer/memory)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 18:10:57 +00:00
Robin Dunn
49828363f8 Moved all WXDLLEXPORT's to be before the return type in order to make
VC 6.0 happy when building a DLL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 17:10:11 +00:00
Robin Dunn
7af6f32725 Added
wxPoint ClientToScreen(const wxPoint& pt)
    wxPoint ScreenToClient(const wxPoint& pt)

back into class wxWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 17:07:46 +00:00
Robin Dunn
119f7a8c81 Enhanced HTML Help output.
1. Full-text-search is enabled
2. Additional buttons on the help window
3. The root page (contents) is now added to the tree
4. etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 17:05:59 +00:00
Vadim Zeitlin
428db2ea5a SelectColour() works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 15:13:24 +00:00
Vadim Zeitlin
c539ab556d added Next/PrevControlId
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 14:51:52 +00:00
Vadim Zeitlin
220af862c1 DrawCircle() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 14:35:48 +00:00
Vadim Zeitlin
0f0c61d0ad more tests added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 14:10:12 +00:00
Vadim Zeitlin
969d318c6a find_first/last_[not]_of() functions added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 12:41:28 +00:00
Robert Roebling
adde8c9807 New virtual key defines (NUMPAD_XXX).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 12:27:27 +00:00
J. Russell Smyth
97560ce3a4 Added code to make wxMDIChildFrame::Activate() work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-17 06:29:39 +00:00
Karsten Ballüder
3b4470ba7a minor bug fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-16 23:42:31 +00:00
Karsten Ballüder
fc7840aa33 Added a wxDataFormat::SetAtom() inline function.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-16 23:13:16 +00:00
Karsten Ballüder
3874d10d85 Minor fix for wxDF_PRIVATE, but doesn't work yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-16 23:12:18 +00:00
Karsten Ballüder
47e1663e82 Many, many updates. Almost perfect.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-16 23:10:40 +00:00
Robert Roebling
b985763280 Minor DC correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-16 19:04:45 +00:00
Karsten Ballüder
c56a9c4d73 More translations (All that I am interested in, if someone else wants to
finish them, go ahead.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-16 15:33:35 +00:00
Guilhem Lavaux
0dac2f38ef * Fixed a dead-lock when the thread finishes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-16 13:40:12 +00:00
Karsten Ballüder
e7a5464f56 About 30% done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-16 13:31:32 +00:00
Robert Roebling
4e4ea166d7 DC change header change for wxMemoryDC and wxPostscriptDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-15 23:40:42 +00:00
Robert Roebling
ed43910deb A little more testing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-15 13:56:21 +00:00
Robert Roebling
aba99005d2 Started drawing sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-15 13:33:55 +00:00
Vadim Zeitlin
d54e425674 typo in dcclient.cpp corrected (wxUSE_SPLINE => wxUSE_SPLINES)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-15 12:47:50 +00:00
Guilhem Lavaux
5092b3add7 * Added thread cleanup safeness: thread can be explicitely killed safely now
on Unix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-15 12:01:15 +00:00
Robert Roebling
92abe7f670 wxGLCanvas compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-15 07:48:40 +00:00
Robin Dunn
4cd9591aab fixes for GetReturnCode/SetReturnCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-15 00:56:11 +00:00
Robert Roebling
089e55d6e8 wxGTK now works a little again.
Added new OpenGl code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-14 21:04:49 +00:00
Robert Roebling
64698f9af8 wxGTK compiles and links again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-14 20:27:41 +00:00
Vadim Zeitlin
8e1d4f96f5 minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-14 14:44:03 +00:00
Karsten Ballüder
ed07b20b50 a few more buglets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-14 11:36:17 +00:00
Karsten Ballüder
cd043c51dd NL insert bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-14 10:41:51 +00:00
Karsten Ballüder
830cd6f489 Updated, fixed a colour bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-14 10:31:21 +00:00
Karsten Ballüder
b86cda55e5 The new layout mechanism is better than the old one. :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-14 09:35:54 +00:00
Vadim Zeitlin
b0e0d66151 wxWindowDC compiles (wxGTK doesn't link yet because of dcpsg.cpp problems...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 23:02:35 +00:00
Vadim Zeitlin
85d10d9bbb wxWindow::Show() works again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 21:33:12 +00:00
Vadim Zeitlin
a23fd0e1d1 1. MSW message handling simplifications
2. wxDC split into wxDC and wxDCBase
3. Several minor bug fixes, many major new bugs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 21:21:04 +00:00
Karsten Ballüder
60a040b3bb I was stupid enough to reorganise the way font changes get stored and applied,
so after only four hours work I'm back where I was yesterday. Selections still
buggy.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 21:13:26 +00:00
Karsten Ballüder
c3317e87ec untested changes...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 17:18:46 +00:00
Karsten Ballüder
5db89e99cb some changes, untested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 17:18:32 +00:00
Karsten Ballüder
67df978396 ProgressDialog now handles multiple copies and shows total number of pages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 15:52:20 +00:00
Karsten Ballüder
a9a96f0a9a slowdown effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 15:51:44 +00:00
Karsten Ballüder
d1fe589535 another wxLayout bug, prints empty pages suddenly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 15:38:11 +00:00
Guilhem Lavaux
f305c66192 * Some more CopyObject()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 15:24:59 +00:00
Karsten Ballüder
b778511b0c fixed wrong range for print progress dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 15:09:59 +00:00
Karsten Ballüder
47ff78ff4f removed an assert which was broken (looked right though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 15:02:26 +00:00
Karsten Ballüder
d7dbc98ae9 Fixed a minor bug in hotKey handling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 13:02:09 +00:00
Karsten Ballüder
d9904e2f43 two more bug notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 11:06:54 +00:00
Karsten Ballüder
c55de8d5c3 first text (header lines) in M get malformatted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 10:56:54 +00:00
Karsten Ballüder
dfec0e85c0 find position bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 10:56:00 +00:00
Karsten Ballüder
0c34becbea Added finding of text in the list and fixed calculation of scrollbar
size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 10:14:30 +00:00
Robert Roebling
b0e813a0c1 Added m_scanCode field to wxKeyEvent
Added a few more WXK symbols to wxGTK


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 09:53:44 +00:00
Guilhem Lavaux
cd8b9f13c7 * fix in wcslen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-13 09:44:03 +00:00
Karsten Ballüder
ae2d6d0200 Modified font handling (on the way to real rtf editing...)
Selections are better but still buggy, list size does not get calculated
completely, end of list only appears after multiple edits. ???


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 22:14:51 +00:00
Robert Roebling
69418a8e47 Maybe negative wxWindowId are better than just -1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 22:12:18 +00:00
Robert Roebling
0de9b5b23f Fixes a few SGI compiler warnings..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 20:26:54 +00:00
Václav Slavík
14204c7acc HTML Help Workshop support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 17:49:33 +00:00
Karsten Ballüder
085b1c8b61 wxlayout bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 15:34:03 +00:00
Robert Roebling
053dcf1a77 -1 is kept -1 as a wxWindowID
removed som edebug code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 15:19:35 +00:00
Karsten Ballüder
dc4769eb08 now we can even edit again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 15:04:28 +00:00
Karsten Ballüder
0a987d2dcd Missing "c" bug should be gone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 14:53:04 +00:00
Karsten Ballüder
2184b1a53d Cursor movements and selections even in non-edit mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 14:47:25 +00:00
Karsten Ballüder
1a78a62905 Scroll to cursor works correctly now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 13:50:59 +00:00
Vadim Zeitlin
712a92f01c HAVE_WCSLEN added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 13:13:14 +00:00
Vadim Zeitlin
cbacf725b7 included longlong doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 13:13:00 +00:00
Vadim Zeitlin
ea804aadf9 missing comma for Motif compilation added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 12:22:06 +00:00
Robert Roebling
d1367c3d78 added wxScrollWinEvent
use timestamp in various events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 09:31:02 +00:00
Unknown (BV)
021e7626ac Modified OnSashPositionChange to take an int& instead of an int.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 03:04:15 +00:00
Unknown (BV)
4c0130922b Modified OnSashPositionChange to resize the window to minimum pane
size if the selected position would result in a too-small pane.
Edge-detection logic (which closes a split) moved from OnMouseEvent to
OnSashPositionChange.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-12 03:03:26 +00:00
Brian Macy
a9ac0bea5b Fixed incorrect return type
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 21:09:44 +00:00
Karsten Ballüder
5b86bbbda6 updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 20:46:07 +00:00
Karsten Ballüder
c3ed793619 COPY works, cut still missing, highlighting buggy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 20:43:12 +00:00
Robert Roebling
f924129679 wxFrame::GetClientSize -> DoGetClientSize
Minor wxDialog fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 20:41:00 +00:00
Robert Roebling
eb082a088a Typos fixed.
Corrected children's deletion (strict now).
  Corrected scrolled window's setup upon startup
    (with/without scrollbars etc.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 18:28:37 +00:00
Vadim Zeitlin
1a5594b80f labels respect alignment now even with GTK 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 17:37:43 +00:00
Vadim Zeitlin
a234a61ad3 another unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 15:35:53 +00:00
Vadim Zeitlin
58654ed0f2 #pragma interface/implementation for gcc added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 14:47:05 +00:00
Vadim Zeitlin
01b43e0302 spaces around '=' are not needed any more in config files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 14:41:13 +00:00
Karsten Ballüder
ccc585e571 This one-liner seems to fix the wxStaticText alignment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 14:08:40 +00:00
Vadim Zeitlin
74e3313b25 unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 12:37:53 +00:00
Vadim Zeitlin
f6147cfc0a unussed param warning suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 12:11:21 +00:00
Vadim Zeitlin
0633c6d6e0 one 'no' is enough when GTK 1.2.0 is not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 12:08:39 +00:00
Vadim Zeitlin
5de9bc8049 library build even without wcslen()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 11:50:40 +00:00
Vadim Zeitlin
d8f2439ceb no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 11:49:11 +00:00
Karsten Ballüder
a086e034f9 Some nice improvements, it's even quite fast now!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 09:15:54 +00:00
Robert Roebling
31c6b4fc10 Implememted IsBeingDeleted() -> buttons work again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-11 08:23:53 +00:00
Vadim Zeitlin
162b0c3bf5 MSW compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 22:56:03 +00:00
Vadim Zeitlin
93089472db compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 22:40:05 +00:00
Vadim Zeitlin
ef58b38276 directory for test programs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 22:34:01 +00:00
Vadim Zeitlin
d7c24517cb GetHandle() added (back)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 22:29:23 +00:00
Robert Roebling
739730cae7 Made wxWindowBase's variables protected again and such.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 21:04:17 +00:00
Vadim Zeitlin
36453d0ffb wxFileSelectorEx added - could someone please implement it?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 18:27:49 +00:00
Vadim Zeitlin
8b81872f2e the initial draft of wxLongLong class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 18:16:31 +00:00
Brian Macy
bacd69f986 Added inline keyword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 16:59:16 +00:00
Vadim Zeitlin
efa5b5de4b (primitive) makefile for msg catalogs and the updated wxstd.po
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 16:35:13 +00:00
Vadim Zeitlin
caf0debf72 patch from Janos Vegh (2nd try, now it even compiles)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 16:19:09 +00:00
Robert Roebling
32ac755d4a Changed wxSizer::GetSize() to DoGetSize() (and others)
Added debug code because I dont know why buttons
   sometimes work and sometimes not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 16:09:28 +00:00
Vadim Zeitlin
6de2f8b9da patch from Janos Vegh for improved template handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 16:01:45 +00:00
Robert Roebling
121a3581d3 A few more things are back to work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 13:31:50 +00:00
Karsten Ballüder
1a89d2f4fb Suppressing selection highlighting in M.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 11:54:20 +00:00
Karsten Ballüder
4884bcedcf Selection improvement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 11:51:04 +00:00
Karsten Ballüder
aab3e197ce wxScrolledWindow::Scroll() no longer calls Refresh(). Adjusted listctrl to
this change.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 11:07:54 +00:00
Karsten Ballüder
0abb488549 Added Refresh() to OnMouse.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 11:06:56 +00:00
Robert Roebling
a2053b27b3 Small modifications to Vadims changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 11:02:43 +00:00
Karsten Ballüder
b6bc5bf37c Updated for Mahogany.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 10:44:09 +00:00
Vadim Zeitlin
9931f08ade DnD sample compiles and works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 09:18:12 +00:00
Vadim Zeitlin
cc2b747254 wxWindow split (MSW part of changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-10 00:42:57 +00:00
Vadim Zeitlin
f03fc89fff wxWindow split into wxWindowBase and wxWindow (wxGTK part)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 22:17:03 +00:00
Vadim Zeitlin
358d140ac9 icons for generic dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 22:07:59 +00:00
Julian Smart
a50fb9c083 wxUSE_THREADS in sckint.h; wxMotif Clone error fixed; JPEG makefile.unx for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 21:42:36 +00:00
Julian Smart
ba9838b991 #ifdefs for wxUSE_THREADS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 21:40:34 +00:00
Vadim Zeitlin
3358d36e06 crash in GTK 1.0 on multiline text ctrl creation fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 18:00:35 +00:00
Karsten Ballüder
404d805e79 Selection marking seems fine now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 17:28:58 +00:00
Karsten Ballüder
18d084cf1f Partially functioning selections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 15:24:57 +00:00
Karsten Ballüder
8fa2e6a209 Added a generic wxProgressDialog and made wxPostscriptPrinter use it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 15:19:45 +00:00
Julian Smart
4445e5cbae *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 15:03:29 +00:00
Julian Smart
0f3e3e0c30 Misc. fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 14:49:40 +00:00
Julian Smart
ea64e17a22 Added JPEG jconfig.vc, BC++/VC++ makefiles. Sort of fixed jconfig.h for
VC++ compilation but probably configure on Unix will go and overwrite it or something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 14:48:20 +00:00
Guilhem Lavaux
63496c98fa * Fixed two or three things in sckint.cpp but I still don't manage to
fix the bug in wxSocketInternal::StopWaiter (Main thread hangs in
  wxThreadInternal::Wait). If someone has an idea I would be very happy ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 12:24:13 +00:00
Robert Roebling
31276cb5e7 Applied FreeBSD patch
augmented beta version to 4


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 10:54:11 +00:00
Brian Macy
631cefffd4 Recursion bad... handle C++ style comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-09 02:35:00 +00:00
Brian Macy
c00dee5597 Commented out 2 apparently used and invalid bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 21:21:35 +00:00
Brian Macy
649ef4c6b4 Reference counted objects should be used *much* more carefully. This was
completely unnecessary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 21:21:10 +00:00
Karsten Ballüder
e589112ed0 Much improved, update rectangles almost work. Selections seem to work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 18:01:24 +00:00
Robert Roebling
de1c750f7e Corrected bmpbutton size
added wxNO_BORDER style to button classes
  added WMclass and WMname strings to dialogs and frames
  added flag to scroll sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 14:18:51 +00:00
Guilhem Lavaux
2a4f27f209 * implemented VZ's idea about creating and destroying bg threads.
(PB with the destruction of waiter: I think it's a race problem but
   I can't localize it if someone finds it please mail it to me)
* Fixed race condition in threadpsx.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 12:18:53 +00:00
Brian Macy
0304608682 Fixed two missing parens
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-08 04:58:10 +00:00
Karsten Ballüder
aff37a19e9 Fixed SetZoom() so it can be used from the outside.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 23:05:22 +00:00
Robert Roebling
ba2a0103aa a bit of debug code
radiobox gets frames again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 21:26:56 +00:00
Vadim Zeitlin
6a2f310358 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 20:48:42 +00:00
Ove Kaaven
57f6da0dec Try to not include ctype functions for win32. Not really tested with
Borland C++, as I don't have the machine with BC++ available right now,
but it should probably be better anyway...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 18:36:06 +00:00
Guilhem Lavaux
aadbdf11bd * Created a new wxObject method: wxObject::CopyObject(wxObject&)
and wxObject::Clone() uses it.
* Added some CopyObject to events.
* Reenable the idle loop in wxEvtHandler::ProcessThreadEvent(...)
* Some correctness in wxSocket.
   Major bugs remaining:
      - it seems there is a mutex problem when it works too quickly
      - all threads aren't destroyed ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 18:34:32 +00:00
Vadim Zeitlin
096c9f9b98 tree ctrl sorting shouldn't crash when items don't have data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 18:02:41 +00:00
Karsten Ballüder
3418cb8b1c Crude hack to fix crash for 8bit displays. Seems to work fine. PLEASE CHECK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 10:51:50 +00:00
Ove Kaaven
5fbecd9925 Took care of those missing frees from failure conditions in wxExecute.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-07 10:20:14 +00:00
Vadim Zeitlin
167e371869 printf => wxLogTrace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 18:40:04 +00:00
Karsten Ballüder
5825712a9e Removed superfluous GDK_DECOR_BORDER.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 15:13:02 +00:00
Robert Roebling
58d1c1ae86 minor fixes
cursor fix for splitter window


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 14:30:49 +00:00
Karsten Ballüder
051b55ad8b Minor fixes, should be ok now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 09:47:01 +00:00
Julian Smart
6776a0b25c Some doc corrections; various small fixes for Cygwin and BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 08:38:01 +00:00
Julian Smart
04a6512306 Defined PBS_SMOOTH, PBS_VERTICAL in gauge95.cpp, if required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-06 08:31:56 +00:00
Robert Roebling
b0351fc91e added wxStaticLine used in wxMessageBox
added wxNO_BORDER style to radiobox


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 21:42:48 +00:00
Karsten Ballüder
aa64626e23 Modified WM hints handling which should be much better now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 21:16:16 +00:00
Robert Roebling
08fc17448a fix for menu separator
wxGlCanvas works again (but flickers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 20:05:26 +00:00
Ove Kaaven
a55268db33 cWX2MB and cMB2WX should be available even when without wchar_t.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 14:20:05 +00:00
Julian Smart
7019025615 Fixed Yield/Windows clash in sckint.cpp, updated makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 11:45:20 +00:00
Robert Roebling
fdd3ed7a8f Added scrolling of widgets and sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 10:25:38 +00:00
Julian Smart
aeab10d07c wxNotebook fixes for Win16; VC++ 4 fixes for OLE files; wxGA_SMOOTH flag (wxMSW);
wxFRAME_FLOAT_ON_PARENT style for frames (wxMSW) to get traditional MSW behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 08:57:41 +00:00
J. Russell Smyth
e716ca3d3b Added wxCONFIG_USE_RELATIVE_PATH option to allow relative paths for config files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 05:01:08 +00:00
J. Russell Smyth
944ac90330 Added wxCONFIG_USE_RELATIVE_PATH option to allow config files to be
specified with relative paths


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-05 05:00:12 +00:00
Robert Roebling
bbf7db28cb Fox around a bug in GTK's GtkNotebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-04 16:16:31 +00:00
Robert Roebling
69cdfbf7f8 Found a few situations where the most recent
corrections crashed.
  Changed default size of wxComboBox to what
    seems to be the only value the arrow button
    likes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-04 15:54:49 +00:00
Robert Roebling
5549fa6559 Added window resize patch to wxFrame
Added patch to wxNotebook for keeping m_id in
    synch after deletion of pages
  Added patch for idle handling within DnD


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-04 11:15:37 +00:00
Robin Dunn
69c6074dc5 RPM bulid updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-04 03:43:25 +00:00
Robin Dunn
e6c95f27a3 Some slight cleanup and reorganization
Added support for making RPM distribution


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-04 00:25:56 +00:00
Robert Roebling
cf724bceea TreeCtrl indentation and spacing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-03 23:11:53 +00:00
Robert Roebling
e208b369f0 Fixed a bug which sometimes lead to windows
showing up at the size of 20x20 (default).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-03 21:09:58 +00:00
Karsten Ballüder
b0795d4568 fix for gtk 1.0.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-03 14:28:51 +00:00
Robert Roebling
858b5bddf6 Implemented flat toolbars
corrected mouse cursor over splitter window
  corrected segvs when setting bg colour in text ctrl
  sliders enlarge when they have labels to avoid pixel junk


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-03 12:19:16 +00:00
Robert Roebling
7f3b7908d3 configure defaults to sockets=1 and checks if threads are 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-03 08:06:53 +00:00
Robert Roebling
5c387335d7 Improved wxTextCtrl's wrapping behaviour
wxGTK package corrections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-02 19:23:38 +00:00
Robert Roebling
fac4253c6f mini-bugs in wxMenu (it now converts / to \ in
the menu text)
  toolbar tips are yellow again
  typo in dcclient


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-02 09:19:44 +00:00
Robin Dunn
c127177f8d More for wxPython 2.0b9 (hopefully the last...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-02 02:06:43 +00:00
Robin Dunn
53920141b5 more 2.0b9 updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-02 00:04:00 +00:00
Robert Roebling
9c288e4d6d Fix for wxPython segvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-01 21:23:41 +00:00
Robert Roebling
15b24b148a Rewrite generic message box
Minor corrections to frame/resizing
  Update for wxPython


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-01 21:21:35 +00:00
Robin Dunn
8d72073ee3 wxPython 2.0b9, second phase (gtk)
Added gobs of stuff, see wxPython/README.txt for details


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-01 05:10:31 +00:00
Robin Dunn
ab9bc19bd1 wxPython 2.0b9, second phase (gtk)
Added gobs of stuff, see wxPython/README.txt for details


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-01 04:41:52 +00:00
Robin Dunn
d403febc27 wxPython 2.0b9, first phase (win32)
Added gobs of stuff, see wxPython/README.txt for details


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 21:13:43 +00:00
Robin Dunn
86975656fb wxPython documentation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 21:11:11 +00:00
Robert Roebling
ab46dc18ab Added hotkeys to menus "E&xit\tAlt-X" and such.
Added hotkeys to minimal sample. Please on wxMSW.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 20:13:24 +00:00
Ove Kaaven
c50c1ddcb2 Should compile better if wchar_t is not available.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 17:14:48 +00:00
Robert Roebling
3cdda6cd81 Updated docs, distrib and version
wxGLCanvas now gets keyboard input


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 13:53:02 +00:00
Robert Roebling
d9f39e09e8 jconfig.h uses configures results
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 10:42:51 +00:00
Karsten Ballüder
95ee0ac83b suppressed compiler warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 10:35:30 +00:00
Karsten Ballüder
f46f1bc60a suppressed compiler warning about unitialised umask value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 10:30:19 +00:00
Robin Dunn
e04ac043b1 wxPython 2.0b9, first phase (win32)
Added gobs of stuff, see wxPython/README.txt for details


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 03:36:26 +00:00
Robin Dunn
cf694132f1 wxPython 2.0b9, first phase (win32)
Added gobs of stuff, see wxPython/README.txt for details


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 03:29:54 +00:00
Robin Dunn
ca298c8852 Fixed wxValidator::Clone and friends to return a wxObject* to keep
MS VC++ happy


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-30 02:39:50 +00:00
Robert Roebling
80ec928cf7 Compile fixes for SGI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-29 21:19:57 +00:00
Ove Kaaven
53b88b545e Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-29 17:19:09 +00:00
Robin Dunn
f899db6d37 wxPython documentation update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-29 16:12:07 +00:00
Robin Dunn
a4fe652485 Added $(NEW_WXLIBNAME) to allow changing the library or DLL name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-29 15:57:41 +00:00
Robert Roebling
19da43267e controls sample tests a bit more
combox doesn't send start-up event
  spinbutton looks correct now
  slider had vertic/horiz flags mixed up
  threads use gdk_enter_gui()
  dnd works a bit more often


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-29 15:00:11 +00:00
Robert Roebling
b9a535f540 MiniFrame title are back.
DnD and threads have stopped to work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 21:41:16 +00:00
Robert Roebling
288bf1296a removed (wrong?) assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 18:28:06 +00:00
Robert Roebling
90e586840b Added configure patch for DEC
Tried to find a DnD bug.
  Corrected a tree ctrl bug.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 17:05:45 +00:00
Karsten Ballüder
d38ceae8b9 Fixed gtk 1.0.6 corruped menu entry names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 14:06:09 +00:00
Robert Roebling
72a16063d3 background colour changes for listbox and combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 12:56:25 +00:00
Karsten Ballüder
f9a273cd71 Fixed gtk 1.0.6 floating subwindow bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 11:39:57 +00:00
Robert Roebling
2e563988fb Chnages to focus code with debug code
added wxSL_LABELS


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-28 08:29:22 +00:00
Ove Kaaven
c05cbb7f5e Added wxchar.cpp, I think
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-27 23:33:24 +00:00
Robert Roebling
acfd422afa New idle handling. Only that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-27 19:32:19 +00:00
Guilhem Lavaux
e5e41feafa * Fixed a compilation problem on Windows
* Fully added sckint.cpp to makefile.b32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-27 18:24:37 +00:00
Robert Roebling
ec5d85fbd5 combobox buglet when inserting item
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 22:17:55 +00:00
Robert Roebling
fafd7fd901 compile fix in debug mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2292 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 21:49:42 +00:00
Robert Roebling
e5ea3f7a96 added check for GTK 1.2
added symbol __WXGTK12__  (do not use GTK_MINOR_VERSION in your code
    as this is undefined anywhere outside wxGTK itself)
  updated wxGTK.spec for local builds
  fixed clipboard clear/setdata race
  test for wxConvLocal in dialogs sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 20:48:39 +00:00
Ove Kaaven
5f709e6725 Changed capitalization style of wxConv*
(e.g. wxConv_current is now wxConvCurrent, although I put some #defines
in to still have it compile)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 18:18:30 +00:00
Guilhem Lavaux
a737331db6 * Committing new wxSocket core (socket.cpp sckint.cpp). It has to be improved ...
* Adding sckint.cpp to various makefiles.
* Fixes in threadpsx.cpp (Pause/Resume)
* Fixes in threaded event dispatching
* Added Clone() to wxObject
* Implemented Clone() in wxEvent and wxSocketEvent
* wxSocket sample save the data got from the URL in test.url (this will change)
* As I only tested wxSocket on Linux Redhat 5.2 I disabled it by default on
  Windows, Mac and Unix platforms.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 18:16:56 +00:00
Karsten Ballüder
6a3ab8b15a Added the missing check for libw needed for wcslen() (Just defines in headers
don't fix such a problem.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 15:15:11 +00:00
Robert Roebling
1b3667ab28 Another attempts at getting dialog positions right
Cursor fixes.

  This requires a recompile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 15:14:33 +00:00
Robert Roebling
227e5e99cd Layout things in wxMessageBox
Positioning of frames and dialogs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 13:10:49 +00:00
Ove Kaaven
a89ae1e485 Heavier checks for wxUSE_WCHAR_T
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 10:33:43 +00:00
Ove Kaaven
2858119ba4 Optional implementation of wcslen().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-26 10:16:21 +00:00
Robert Roebling
10d5be9ad3 experimental OLE control (the reason for the
recent reshuffle)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 16:55:03 +00:00
Robert Roebling
13393ab623 The colour is called Aquamarine, not Aquaramine. No,
you cannot eat it either.
  Also, menubar short cuts work now.
  Some more focus goodies.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 16:31:27 +00:00
Robert Roebling
1e133b7d64 Backgrounds work again
splitter sample compiles with Unicode
  if a wxClientDC is used on an unrealized widget,
    the widget's realization is forced in wxClientDC
  added underscores to wxMenuBar - don't work..
  tried to figure out why wxFrame doesn't get keyboard input


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 15:10:52 +00:00
Ove Kaaven
eea4f86a0c Implemented UTF-8 encoding.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 12:43:55 +00:00
Ove Kaaven
6f841509ce Uses wxUSE_WCHAR_T for compilers that don't support wchar_t.
Added wx_str() and WXCSTRINGCAST, which should be explicitly defined
to work on wxChar (doesn't look like people want c_str() to be
unconditionally defined as wxChar).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 12:42:55 +00:00
Robert Roebling
58dea4b067 Fixed a layout bug in MyFixed
More things done after realization
  wxListCtrl is grey now. Why?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-25 01:00:34 +00:00
Ove Kaaven
7ef156f797 GetValue() converts using wxConv_current...
my app seems to be starting to work in Unicode mode,
will wonders never cease.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 22:36:02 +00:00
Robert Roebling
2b07d71308 Had to change the time point, when widgets are
created (no longer forced). This seems to break
  wxNotebook...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 21:57:18 +00:00
Ove Kaaven
38444daf66 Fixed bug in wxConv_local.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 19:34:06 +00:00
Robert Roebling
b03b33e2e6 DnD with Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 16:00:28 +00:00
Ove Kaaven
434d2cb3c6 Added wxOKlibc(), which checks for glibc2.0, which incorrectly does UTF-8
conversion even when it's not in UTF-8 locale


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 13:57:26 +00:00
Ove Kaaven
b43ca95a8f Small bugfix for wxString::Printf regarding %hs...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 13:07:43 +00:00
Robert Roebling
031bc97f46 small change required for OLE component
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 12:55:04 +00:00
Ove Kaaven
435595e02f Constructor should survive getting passed a null pointer for conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 12:25:03 +00:00
Ove Kaaven
d9e89b159c cMB2WX and cWX2MB accepts null pointers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 12:21:03 +00:00
Robert Roebling
c96faa7c9b wxGLCanvas works again
added GTK 1.2 logical functions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 10:18:09 +00:00
Robert Roebling
9f06bcb3b8 minimal now works in Unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-24 08:50:40 +00:00
Robert Roebling
f70d582977 made controls sample compile in unicode mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-23 10:38:58 +00:00
Karsten Ballüder
8e360a085f Modify to demonstrate layout bug.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-23 09:14:48 +00:00
Ove Kaaven
0042120682 More fixes to make Borland compile this in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-23 07:31:12 +00:00
Ove Kaaven
20fd9757ff Unicode fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-23 07:30:12 +00:00
Ove Kaaven
4ca9b362cd Yet another one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 22:45:32 +00:00
Ove Kaaven
07fa75bc31 Another Unicode fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 22:39:31 +00:00
Ove Kaaven
b5be07d450 Unicode fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 22:19:28 +00:00
Ove Kaaven
107dcfab63 Unicode fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 21:54:38 +00:00
Ove Kaaven
b1fa8b4e25 Added operator[] (read-only of course). Borland C++ 4.52 wasn't smart
enough to automatically convert to a pointer for array indexing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-22 00:31:06 +00:00
Ove Kaaven
4de6207afa Unicode fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-21 21:46:02 +00:00
Robert Roebling
eefa26bed1 fixed bitmap constructor for monochrome bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-21 12:35:02 +00:00
Robert Roebling
7ddb3812fd script update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 19:23:03 +00:00
Ove Kaaven
b0bb2669bc Another "char" occurrence
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 14:23:27 +00:00
Brian Macy
b86510f8ef Can't figure out why Borland was excluded from DRAG and DROP... anyways, its changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 13:52:19 +00:00
Ove Kaaven
d0bdc3ca5f Some Unicode fixes (mostly for Borland's pickiness regarding _T(), which
might be considered a good thing anyway).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 11:08:02 +00:00
Ove Kaaven
554936c829 Moved that HAVE_WCSTR_H here.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 11:05:44 +00:00
Ove Kaaven
7a3e402c11 ...and my Linux doesn't have wcstr.h. (Including of those files should be
performed in wxchar.h now anyway)
Also encapsulated wxWCharBuffer in #if wxUSE_WCHAR_T


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 11:05:16 +00:00
Ove Kaaven
81d425f691 Some further changes. Now also sets a wsUSE_WCHAR_T that's set to 0 for
MSVC++ 1.5, and 1 otherwise. You may define it to 0 for other compilers
that don't have wchar_t either.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 11:00:06 +00:00
Robert Roebling
00ca73aa45 two people fixing the same thing...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 10:49:32 +00:00
Karsten Ballüder
851630e4f3 typos fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 10:30:53 +00:00
Karsten Ballüder
76ed42ef66 Tests for wchar.h/wcstr.h - PLEASE DO NOT GUESS BUT USE CONFIGURE TO TEST!!!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 10:26:43 +00:00
Karsten Ballüder
e955db19c1 I think I fixed the wxGenericPrintSetupDialog but PLEASE CHECK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 10:25:56 +00:00
Robert Roebling
8a126fcc34 little doc updates
removed GTK 1.0 Drag'n'Drop
  added (const char*) constructor to wxDataFormat
  added -I pointing to embedded /png and /jpeg dirs
  corrected frame/dialog resizing


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-20 10:09:15 +00:00
Julian Smart
75737d0570 Fixed wxPostScript printing problem (used wrong constructor, and the right
one was wrong anyway...) Fixed include dir ordering in wxMotif makefiles (wrong version of zlib.h picked up) and added wxchar.cpp to Motif makefile. Changed buffer.h since there's no wchar.h on my system.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 20:43:41 +00:00
Vadim Zeitlin
f861258fca a wxCHECK added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 20:27:40 +00:00
Ove Kaaven
65d7724685 Must include wchar.h in non-Unicode build too, since buffer.h depends on it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 19:54:58 +00:00
Ove Kaaven
111edd48cc Hmm, seems Borland also doesn't want wchar_t in fopen() and friends
(correct me if I'm wrong?)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 18:27:51 +00:00
Ove Kaaven
e97f6ab64e More wxChar conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 18:23:09 +00:00
Ove Kaaven
621ae68a13 Those pesky globals declared all over again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 18:04:57 +00:00
Ove Kaaven
df0a25492e Unicode conversion for MSW, or something
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 18:02:45 +00:00
Ove Kaaven
06c545a703 Helps Borland compile further in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 17:48:28 +00:00
Ove Kaaven
39ca6d790b Some Unicode changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 17:47:19 +00:00
Karsten Ballüder
4875458c3e SOCKLEN_T expanded to socklen_t if supported, neede by ALPHA (yes, it's back!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 16:31:11 +00:00
Ove Kaaven
0841bffa45 Forgot an additional prototype.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 16:11:22 +00:00
Ove Kaaven
853d7d3dc9 Attempts to make this wchar_t business compile with Borland C++ 4.52.
(While I was at it, I made the macro usage even more confus...
I mean portable... than before.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 16:07:51 +00:00
Robert Roebling
67246edee2 JPEG fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 15:13:31 +00:00
Vadim Zeitlin
d390f6eefc wxTextCtrl::DiscardEdits doesn't empty the text ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 12:51:51 +00:00
Julian Smart
63863e09de Fixed wxexpr.cpp bug (quote wasn't being removed in new MB code);
fixed one of the remaining memory leaks (wxMSW, wxDefaultValidator)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 10:14:51 +00:00
Vadim Zeitlin
cedda7e689 fix for the fix for the umask fix in wxTempFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-18 21:22:40 +00:00
Ove Kaaven
923d315695 glibc2.1 chokes on null input to wcstombs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-18 10:48:43 +00:00
Ove Kaaven
20456250d2 ...for both buffer types...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-18 00:20:20 +00:00
Ove Kaaven
d87c0ac7b9 Oops. The typecasting was interpreted as a constructor call...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-18 00:18:39 +00:00
Ove Kaaven
6cf7c00f3b Defer retrieval of LANG env var, too. No memory management
or conversion is now performed in wxCSConv constructor.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 23:01:48 +00:00
Ove Kaaven
551df6f246 New private SetName method in wxCSConv...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 22:51:21 +00:00
Vadim Zeitlin
bd9d76cbe5 tooltips in controls in dialogs actually work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 20:30:28 +00:00
Vadim Zeitlin
9a5ccab431 radiobox now sends notification messages when the selection is changed from
keyboard, but doesn't send them when the selection does not change (when the
already selected button is clicked with the mouse)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 20:29:40 +00:00
Brian Macy
41618278a6 Enough wxBitmapDataObject implementation to work with wxClipboard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 19:46:57 +00:00
Robert Roebling
e19291405f Added a bit of libJPEG 6.0b
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 17:54:07 +00:00
Ove Kaaven
6836fdedc0 Unicodified list of color strings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 13:55:56 +00:00
Robert Roebling
4b48b61050 added missing files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 13:46:46 +00:00
Robert Roebling
a626cc0305 libPNG 1.0.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 13:43:15 +00:00
Ove Kaaven
d207efe172 Adapted those asserts and debug messages for Unicode.
All of wxGTK now compiles, and for my app, also links in Unicode mode.
(Too bad it just segfaults though, guess it's debugging time...
if only gdb wouldn't segfault even when just loading the core file)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 13:21:38 +00:00
Ove Kaaven
a907da15bc Unicodified wxEndsWithPathSeparator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 13:12:39 +00:00
Ove Kaaven
66fbdb15a4 Fixed typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 12:21:58 +00:00
Ove Kaaven
0080691b20 Unicodified a few routines.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-17 12:20:43 +00:00
Ove Kaaven
c16e5a9271 Unicodified wxSplitPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 23:06:39 +00:00
Ove Kaaven
6f9eb45239 Had changed the prototype of wxOnAssert after the discovery of __TFILE__
but had forgotten to change the implementation too.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 22:59:58 +00:00
Vadim Zeitlin
7af61b2e18 bug in handling escaped chars in entries/group names corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 21:47:34 +00:00
Brian Macy
c1b2075d92 Made return a const reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 19:05:11 +00:00
Vadim Zeitlin
004c69ab7b attempted Borland C++ compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 18:35:39 +00:00
Vadim Zeitlin
786855a1db log unknown log levels too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 18:35:22 +00:00
Brian Macy
c6cee67252 Changed some parameters to be const references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 18:27:29 +00:00
Vadim Zeitlin
373d88af8a wxLog shouldn't complain about log levels it doesn't know about
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 17:51:31 +00:00
Ove Kaaven
9626e0bfc6 const-ness warnings in non-Unicode again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 17:26:23 +00:00
Ove Kaaven
b2219150ca Hm, better make the operators inline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 16:41:05 +00:00
Ove Kaaven
87138c520c All files compile in Unicode mode, but I have only converted things near
points of compiler warnings/errors, they have not been exhaustively
reviewed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 14:19:32 +00:00
Ove Kaaven
9aa521548d Added a comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 14:15:40 +00:00
Ove Kaaven
83a21afbcb Some Unicode conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 14:14:47 +00:00
Vadim Zeitlin
3727898455 don't log empty status messages in wxLogWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 14:05:33 +00:00
Ove Kaaven
bf88baa63e Needed the reverse operator+ too...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 12:49:47 +00:00
Ove Kaaven
028a2b5d53 operator+(const wxString&, const wx[W]CharBuffer)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 12:24:26 +00:00
Ove Kaaven
0e6667e269 wxGetUserHome() may return const val.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 11:30:09 +00:00
Ove Kaaven
2aaf2049c0 wxGetUserHome() returns a const value in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 11:20:59 +00:00
Ove Kaaven
05079acc83 Compiles in Unicode mode.
OK, I've still got generic/ left to convert...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 11:19:50 +00:00
Ove Kaaven
61ef57fc5e wxGetUserHome() returns "const wxMB2WXbuf" for Unix in Unicode build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 11:18:46 +00:00
Ove Kaaven
c71c744a57 wxLoadCharacterSets() now appears to work (was a bit slow, but since it's
not called until someone actually uses wxConv_local, it should not affect
too many).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 09:58:38 +00:00
Robert Roebling
ba0730de65 wxImage now uses GTK 1.2's fast rendering code if possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-16 09:52:32 +00:00
Robert Roebling
24714ea3c5 removed some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 19:29:04 +00:00
Vadim Zeitlin
0151c3eb43 log messages given during program initialization are not discarded any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 19:16:19 +00:00
Robert Roebling
5679f3353c small mods to tree ctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 19:10:29 +00:00
Ove Kaaven
a28d23bb2c Defer loading of character sets, and some anti-crash checks related to
missing or incomplete LANG env var.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 18:09:48 +00:00
Ove Kaaven
a86f1d4a7d Slightly better style?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 18:07:30 +00:00
Ove Kaaven
03715438eb Right-o, wxConv_local does cause some weird crashes, but things
appears to work without right now, so I #if-ed it out for now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 16:02:13 +00:00
Ove Kaaven
69e15b78af (ugh, I need to get a faster computer)
Applied the more beautiful compilation fix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 15:38:43 +00:00
Ove Kaaven
3a309a64d7 Another inline constructor to facilitate Unicode conversion without #if-ing...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 15:13:26 +00:00
Ove Kaaven
15965b8b11 Compilation problem in non-Unicode mode. (Will fix in a more beautiful way later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 14:54:16 +00:00
Ove Kaaven
e06937ad73 Compiler warning in non-Unicode mode fixed.
(No, does not fix a real problem, the library is still compiling here)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 14:51:31 +00:00
Karsten Ballüder
34adc693b0 Added a wxYield() warning to wxExecute() entry.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 14:40:41 +00:00
Ove Kaaven
05939a8140 OK, while I wait for the non-Unicode build to compile, I can report
that now all files in gtk/ compiles in Unicode mode. unix/ is still
missing, but that probably wouldn't take too long.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 14:36:04 +00:00
Karsten Ballüder
95dee6514a Added wxEnableTopLevelWindows(bool enable) for use by wxSafeYield().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 14:18:12 +00:00
Vadim Zeitlin
af3de916ef workaround for mingw32 div() bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 14:16:14 +00:00
Vadim Zeitlin
2f000c959a GTK 1.0.x compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 13:53:00 +00:00
Vadim Zeitlin
7fd43a44d6 GTK 1.0.x compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 13:47:16 +00:00
Ove Kaaven
9f15c5febf A couple more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 13:24:06 +00:00
Ove Kaaven
b019151f0b So far so good. These now compiles in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 13:02:22 +00:00
Robert Roebling
b1da76e108 added update UI event code to toolbar, could
someone test this


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 12:08:59 +00:00
Ove Kaaven
d4ffe273ca Implemented wxArrayString::Shrink() and stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 10:11:31 +00:00
Robert Roebling
41ca191f4b egcs compilation fix
toolbars give away their space when floating (as well)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-15 10:05:22 +00:00
Ove Kaaven
ed9b9841b3 OK, enough for today. To be continued tomorrow...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 22:47:16 +00:00
Ove Kaaven
93c5dd39af These at least compiles in Unicode mode...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 21:53:47 +00:00
Ove Kaaven
578c208107 char -> wxChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 21:52:38 +00:00
Ove Kaaven
3bce750983 This seems to be compiling.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 20:23:46 +00:00
Ove Kaaven
3e473156c6 If you look at the conversion and character set code at the bottom of
string.cpp (and the #includes), maybe someone will think that it should
be moved into a separate file. (I'd agree but not bother yet.)
(And someone added literals without _T() in imaggif.cpp again)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 19:59:03 +00:00
Ove Kaaven
a69f7aa823 More helpful Unicode stuff.
Conversion classes are now:
wxConv_libc (standard mbstowcs/wcstombs)
wxConv_file (usually same as above, but I think some Asian locales
use different encoding systems on the filenames than on the contents
of the files)
wxConv_UTF7 (7-bit Unicode encoding (similar to BASE64), for email etc,
not implemented yet)
wxConv_UTF8 (8-bit Unicode encoding, not implemented yet, just uses
mbstowcs/wcstombs, which just happens to be UTF-8 in glibc2)
wxConv_gdk (gdk_mbstowcs/gdk_wcstombs, not too useful)
wxConv_local (current 8-bit character set, from LANG env var)

wxConv_current: pointer to conversion class. Points by default to
wxConv_local, but it's meant to be able to be redirected by the user
(and wxGTK can point it at wxConv_UTF8 if it manages to set the UTF-8
locale).

mbc_str() returns mb_str(*wxConv_current) for convenience.
I will use mbc_str() in my upcoming wxGTK adaption.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 19:56:54 +00:00
Robert Roebling
16bcc879d9 wxGTK's built-in dockable menu now give their
space away when floating


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 16:56:36 +00:00
Vadim Zeitlin
67a7abf778 HitTest() now works when the ctrl is scrolled too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 14:58:17 +00:00
Robert Roebling
32a95f9f1a mini frame rewrite (titlebar still missing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 14:55:56 +00:00
Ove Kaaven
ba555d51b0 wxConv classes and instances, including wxConv_gdk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 14:37:54 +00:00
Ove Kaaven
d41bba9157 wxMBConv derived classes and instances.
Added wxConv_gdk (wrapper for gdk_mbstowcs and gdk_wcstombs, which use
X calls instead of libc calls), which should probably not be used, but is
now there for completeness, and in case it's useful after all.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 14:36:58 +00:00
Robert Roebling
a260fe6a43 added wxCB_READONLY
fixed MDI bug
  fixed GTK 1.2.0 compilation in wxMenu::something


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 12:58:23 +00:00
Ove Kaaven
f39f922082 And here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 11:56:36 +00:00
Ove Kaaven
3b90345be1 Declared here too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 11:56:15 +00:00
Ove Kaaven
908d45166b The char->wxChar in window.h cascades through some other header files.
Someone give a hint why you'd declare the same extern global vars
separately in a ton of header files instead of just once in a header
file included by all the others?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 11:55:35 +00:00
Ove Kaaven
74ce55e92c char -> wxChar. (Vadim, you can probably just go ahead messing with
this file now)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-14 09:37:21 +00:00
Václav Slavík
e207152c59 fixed transparency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 22:29:58 +00:00
Vadim Zeitlin
5c51506096 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 22:24:24 +00:00
Robert Roebling
5af019af85 Drag'n'Drop works in a basic form
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 20:22:32 +00:00
Ove Kaaven
62bd5cf059 This is the way to go (well, close enough).
Unicodified lots of asserts.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 17:55:13 +00:00
Ove Kaaven
9cc7a35d9c By this commit, I guess I'm announcing intent to add Unicode support to wxGTK.
"Somebody stop me!" - The Mask


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 17:45:04 +00:00
Robert Roebling
4ba47b4019 Drag works.
Drop works,
  Drag'n'Drop doesn't work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 16:46:55 +00:00
Ove Kaaven
fde7d98ecd Got some compiler warnings in non-Unicode build. Fixed them.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 16:22:43 +00:00
Ove Kaaven
d9a56bdeaf Someone must have committed some ASCII string literals while I wasn't looking.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 16:15:04 +00:00
Ove Kaaven
1ec11a0645 Unicode conversion.
All files in the common/ subdirectory now compiles in Unicode mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 15:23:06 +00:00
Ove Kaaven
5432628520 Unicode conversion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 15:20:36 +00:00
Ove Kaaven
d44f866a66 Now this one also compiles in Unicode mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 14:36:47 +00:00
Karsten Ballüder
0454d4ca74 Added variable cursor to highlight embedded user data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 13:45:59 +00:00
Ove Kaaven
4846abaf45 Unicode interface (the communication itself is still in ASCII, I hope).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 12:44:37 +00:00
Ove Kaaven
8bec6d4ae8 Unicode support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 12:40:33 +00:00
Ove Kaaven
4400c1a450 Fixed a typo. Added sloppy implementation of wxSscanf (converts source and format,
then calls vsscanf; use only on number arguments!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 12:29:59 +00:00
Ove Kaaven
ea1395db1f Add wxSscanf (used in ftp.cpp to parse returned address)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 12:19:42 +00:00
Ove Kaaven
783b6cfda4 The prevalent wide characters.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 11:44:33 +00:00
Ove Kaaven
2ed57eb790 Unicode. You know the drill.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 11:43:03 +00:00
Vadim Zeitlin
4b21397f16 GetViews() documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 11:26:25 +00:00
Ove Kaaven
84fff0b395 More Unicode stuff. Implemented wxFprintf.
Some printfs changed to wxPrintf, fprintf to wxFprintf, as well as the
usual char->wxChar and _T().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 10:34:24 +00:00
Ove Kaaven
6d9bd0682c char->wxChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 10:31:53 +00:00
Ove Kaaven
c1160779dc Fixed glibc2.0 check (for that glibc2.0 workaround, which gives glibc2.1
warnings instead, since __ctype_tolower/upper is not declared there)
Added declarations for wxFprintf and wxVfprintf.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 10:21:42 +00:00
Vadim Zeitlin
fe99e2858a wxTempFile now respects umask when creating new files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 09:01:10 +00:00
Vadim Zeitlin
0fea8a59b1 an attempt to fix glibc2.0 stupidness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:56:14 +00:00
Vadim Zeitlin
c1ac1056b0 apparently this should fix some Borland problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:31:15 +00:00
Vadim Zeitlin
f33396842a some typos in docs and code corrected (thanks Janos)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:14:19 +00:00
Ove Kaaven
53388a784b Implemented wxPrintf.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:08:04 +00:00
Ove Kaaven
7c337432f0 Added wxPrintf declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:03:36 +00:00
Vadim Zeitlin
8801832d0a Pending() and Dispatch() implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 08:00:44 +00:00
Ove Kaaven
e296ac9f3d Another one bites the dust.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 07:41:45 +00:00
Ove Kaaven
cf2f341a0a Unicode-mode typos in string.cpp (where did they suddenly come from?)
More Unicode-build conversion.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 07:38:23 +00:00
Ove Kaaven
111bb7f2ea wxString assignment operator from wx[W]CharBuffer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 07:19:59 +00:00
Ove Kaaven
a982ddd202 wxAtof independent of wxNEED_WX_STDLIB_H, used by Visual C++ in Unicode mode,
defined to atof in non-Unicode mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 06:53:41 +00:00
Ove Kaaven
b7a5d6ca90 wxAtof implementation independent of (the rest of) wxNEED_WX_STDLIB_H
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-13 06:48:04 +00:00
Vadim Zeitlin
66f32eca4c wxAtof() fixed (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 23:21:19 +00:00
Robert Roebling
829e3e8d3d wxDropTarget starts to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:56:14 +00:00
Ove Kaaven
6b769f3d1f BIG glitch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:43:59 +00:00
Ove Kaaven
4300d6cbc3 Small glitch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:41:40 +00:00
Ove Kaaven
509201463d It now compiles all these files without warnings in Unicode mode.
(at least It Works For Me(tm))
I will respond to any complaints when I wake up for another workday
(any complaints will prove whether Vadim was right in that it's bound
to break things)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:31:12 +00:00
Ove Kaaven
9d2f3c71d8 Oh well, I'll just stuff in the rest of the Unicode changes I have made
so far here. You may start complaining now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:20:19 +00:00
Ove Kaaven
9e3d3318dc Uses Unicode strings. Now we've got a __TFILE__ macro, too (I think?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:17:06 +00:00
Ove Kaaven
e36e6f95aa Unicode support. Uses wxWCharBuffer in Unicode build. Compiles, at least.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 22:03:14 +00:00
Ove Kaaven
7b36d72062 Unicode support. The _() macro is made to imply _T() (would be boring to
type _(_T("text")), I think). That means you have to use wxGetString()
directly if you need to look up from a string variable instead of a literal.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 21:58:42 +00:00
Ove Kaaven
2bb67b808b Unicode support for wxString (wxchar.cpp won't compile without it, so I
figured I couldn't hold it back anyway).
Added many macros. Changed most char to wxChar, and literals wrapped in _T().
Added conversion classes. Added new constructors to wxString, and mb_str(),
wc_str(), and fn_str() (the last is mb_str() on Unix and c_str() on Windows,
since Windows takes file names in Unicode (I think), while Unix doesn't).
Rewrote wxString::Printf().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 21:14:46 +00:00
Ove Kaaven
f3dbd876fc Added wxchar.cpp/.obj
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 20:44:57 +00:00
Ove Kaaven
f93d01be83 Added allocation constructor (makes it easy to convert right into a buffer
allocated to size by this class), copy constructor (egcs does not like
const wxCharBuffer& mb_str() { return wxCharBuffer(...); }, so it HAS to be
copiable), and assignment constructor (so it can be stored to a variable
for efficiency, instead of being converted every time the string is needed).

(The copy and assignment operator wipes the source, so the buffer is
essentially passed on to the new instance without being freed by the old.)

wcsdup() is not declared in glibc by default, so use malloc() instead.
Added some 'convenience' macros.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 20:10:56 +00:00
Karsten Ballüder
9e55588fe3 Countless (some half-finished) optimisations.
Started implementing selections.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 20:06:46 +00:00
Ove Kaaven
e97a90f0a8 For non-Unicode added #include <ctype.h> and <string.h> to avoid some missing
declaration warnings, added wxAtof, changed wxStrtok declaration, added
conditional declarations for functions in wxchar.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 20:01:51 +00:00
Ove Kaaven
c9e089e9f4 Added wxchar.cpp, which contains:
wxMB2WC, wxWC2MB (wrappers for mbstowcs and wcstombs)
wxStrdup and thread-safe wxStrtok, for when libc does not supply it
wxSetlocale, wxSprintf, wxVsprintf, wxAtof, wxAtoi, wxAtol, wxGetenv,
wxSystem: Unicode-supporting wrappers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 19:56:38 +00:00
Robert Roebling
ef47f9b3fd Fixing a few fixes..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 14:41:43 +00:00
Vadim Zeitlin
ea18eed94c wxUSE_THREADS typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 14:02:23 +00:00
Robert Roebling
96d5ab4d29 added moving subwindow when scrolling (tested in image.cpp )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 13:47:34 +00:00
Václav Slavík
99cc0158e2 ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 13:44:52 +00:00
Robert Roebling
ca35e608cd clipboards tests
WM hint corrections (guesses)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 13:18:04 +00:00
Vadim Zeitlin
c386222cd3 fixed compilation under Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 11:51:36 +00:00
Vadim Zeitlin
5f939e78ef HitTest test added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 11:48:06 +00:00
Vadim Zeitlin
a0fdaceeb1 GTK 1.0.x compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 11:39:51 +00:00
Vadim Zeitlin
14971e5b9f auto buffer class(es)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 09:57:22 +00:00
Robin Dunn
e12f91dc2b Added $(WAITFLAG) so other shells can use appropriate flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 01:30:01 +00:00
Robin Dunn
69157f8b8b Added SetPaperId. It seemed to want such a method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-12 01:22:05 +00:00
Vadim Zeitlin
eac2aeb01e wxGetCwd fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-11 23:19:48 +00:00
Vadim Zeitlin
7fe4f50002 thread deletion fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-11 23:15:31 +00:00
Robert Roebling
ab2b3dd4a2 Rewrote MDI system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-11 22:43:52 +00:00
Václav Slavík
53b7ce7ef8 direct stream use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-11 19:07:33 +00:00
Václav Slavík
9e9ee68e90 MIME support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-11 19:07:17 +00:00
Vadim Zeitlin
092fdc46a9 oops... fatal bug (which I recently introduced) with uninit callback corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-10 22:27:21 +00:00
Vadim Zeitlin
357196321f unitialized var initialized (mainly to reduce Purify warnings)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-10 22:26:46 +00:00
Vadim Zeitlin
8df136714c tooltip bug (which I introduced recently) corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-10 22:24:32 +00:00
Ove Kaaven
639a9fb5d7 Added wxStrdup().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-10 14:15:15 +00:00
Robert Roebling
f362b96d67 Removed this Maximize() overridden bug
Changed wxFrame so that drawing into the
    client area draws into the client area.
    Removed some ugly hacks on the way. Don't
    forget to recompile everything.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 20:26:29 +00:00
Robert Roebling
034be8882c Here it comes:
Doc updates
  Makefile doesn't strip anylonger
  Makefile adapted to /src/unix etc
  Added wxLB_ALWAYS_SB
  Added MWM window manager hints
  Fixed event handling bugs that (among others) caused
    the wxListBox misbeahiour
  Rwwrote GtkmyFixed for GTK 1.2
  Made data requests etc in wxClipboadr asynchronous
  Added underscores to menus (some)
  Tried in vain to make wxTextCtrl (and its GtkTable)
    behave correctly. The bottom text control in the
    controls samples still misbehaves upon start-up.
  did I change notebook.cpp ?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 18:01:17 +00:00
Guilhem Lavaux
c84fb40aab * Commented out "delete this;"
* Finished threads can be restarted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 17:31:20 +00:00
Ove Kaaven
1cfecdda6f For non-Unicode, preserve binary compatibility by doing
#define wxChar char
instead of typedef char wxChar. This is a temporary measure.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 12:42:26 +00:00
Karsten Ballüder
f0594f42be No more overlap between lines (I hope).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 10:06:21 +00:00
Karsten Ballüder
d701d432df better centering of text/images
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 09:54:03 +00:00
Karsten Ballüder
49cd56ef86 fixed some glitches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 09:45:38 +00:00
Karsten Ballüder
d30b4d2007 Modified it to adjust to different icons sizes. Please check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-09 09:18:52 +00:00
Ove Kaaven
34f9227c5a Unicode definitions for glibc, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 23:38:47 +00:00
Ove Kaaven
64ef36223c Unicode support is *experimental*, so disable it by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 23:22:29 +00:00
Karsten Ballüder
08ee61e920 Removed check for pthread-0.7 on Linux which causes problems on some glibc2
systems and break static linkage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 20:52:29 +00:00
Karsten Ballüder
53a8af592a Fixed gtk 1.2.x wxYield() problem (tested).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 20:51:00 +00:00
Julian Smart
7cf8333086 Added candidate wxDragImage implementation for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 19:36:00 +00:00
Julian Smart
6c41a418df Changed the focus-window event handling back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 14:42:46 +00:00
Julian Smart
e702ff0f08 Menu/toolbar event handling now tries the window with the focus first.
wxTextCtrl processes cut, copy, paste, undo, redo commands and UI updates
automatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 21:33:22 +00:00
Václav Slavík
b59ff3c9c8 fixed bug with incorrect fileformat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 21:08:13 +00:00
Vadim Zeitlin
b12696919b allow access to terminating NUL character with operator[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 17:22:19 +00:00
Karsten Ballüder
614ed50d20 workaround for counterintuitive wxString::operator[] behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 17:02:25 +00:00
Julian Smart
d2c7e39b9b Some typos corrected in iniconf.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 15:01:51 +00:00
Julian Smart
b59bf2db65 Added imaggif.h, imaggif.cpp (wxImage GIF-reading support); candidate
FindFocus implementation for wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 14:51:34 +00:00
Vadim Zeitlin
9869734d04 no more SetAppName/SetVendor in the config classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 13:01:50 +00:00
Vadim Zeitlin
b58197f24a SetLabel() adjusts the label size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 12:59:29 +00:00
Vadim Zeitlin
1baa5e4ab5 ::GetWindowText() -> wxGetWindowText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 12:35:36 +00:00
Karsten Ballüder
b66e7a06b5 I seem to have fixed the DeleteSubGroups() bug - PLEASE CHECK!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 11:23:50 +00:00
Vadim Zeitlin
61ba49f2b6 wxRegConfig::GetEntryType() added and some bugs fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 21:13:46 +00:00
Robert Roebling
22d5903e91 Chnaged text id for clipboard to "text/plain"
Now DnD actually links as well


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 20:50:34 +00:00
Julian Smart
b80ec6db89 Fixed some bugs in new code (CanPaste, GetSelection)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 20:26:41 +00:00
Vadim Zeitlin
966a3b2cc6 trying to work around gcc internal compiler error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 18:33:23 +00:00
Robert Roebling
d6086ea663 Changed clipboard text format id from "STRING" to "TEXT"
DnD might now actually compile (but nothing else)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 17:24:14 +00:00
Julian Smart
ca8b28f2ef Added some missing wxTextCtrl functions: Undo, Redo, CanUndo, CanRedo,
CanCopy, CanCut, CanPaste, GetSelection, IsEditable.
Also added wxNotebook::SetTabSize (only implemented on wxMSW but necessary
when using just an icon).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 16:32:33 +00:00
Vadim Zeitlin
49d5d881d4 wxTempFile now respects the access rights under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 16:28:21 +00:00
Vadim Zeitlin
c972e125b6 fixed compilation for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 14:38:30 +00:00
Julian Smart
e9c4b1a2b5 JPEG and PNG code taken out of image.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 13:44:37 +00:00
Julian Smart
58abfef64f Fixed OnMenuHighlight, wxPrintData problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 12:55:44 +00:00
Vadim Zeitlin
19d40bab31 wxConfig::GetEntryType() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 10:23:31 +00:00
Vadim Zeitlin
9a48c2ba3d bug in FindItemForId() fixed (?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 08:50:10 +00:00
Julian Smart
de4d7713bc ShowPosition fix to allow negative numbers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 08:29:30 +00:00
J. Russell Smyth
21677c36c9 Removed Persistance Framework code/files from FrameLayout
Corrected makefiles to match


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-05 23:55:42 +00:00
Julian Smart
c4b10e41c7 MSWOnCommand bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-05 16:13:24 +00:00
J. Russell Smyth
dffb854d17 removed settingsdlg from makefile.g95 - not part of the library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-05 03:22:57 +00:00
Václav Slavík
18c07b73c6 fixed input stream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-04 13:02:19 +00:00
Julian Smart
58a33cb4e6 Win16 corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-04 11:24:51 +00:00
Harco de Hilster
594542b128 removed a few objects whose sources have been moved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-04 05:24:58 +00:00
Vadim Zeitlin
c2dcfdef63 wxMenu and wxMenuBar modifications: now works much better with owner-drawn
items, better encapsulation (the wxMenu data members are no longer public),
simplified wxFrame and derived classes by moving the common parts into
member functions of wxMenuBar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 22:25:12 +00:00
Vadim Zeitlin
14531b30fe code demonstrating wxMSW bug added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 21:15:28 +00:00
Julian Smart
cb2302446c Corrected someone's double-initialisation bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 20:36:17 +00:00
Julian Smart
6aa55ce727 Correct wrong memset ordering that produced an assert in the printing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 19:17:42 +00:00
Brian Macy
7d5818e08b First attempt at clean-up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 17:46:18 +00:00
Karsten Ballüder
59e2b19ff7 Also the radiobox was unitialised.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 16:59:38 +00:00
Karsten Ballüder
378f7b3f89 Compiles and runs again with new printing code (which is still broken in wxGTK).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 16:57:46 +00:00
Karsten Ballüder
d14612c662 Attempt at fixing the broken printer dialog. *Lots* of unitialised variables!
Not fixed yet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 16:48:12 +00:00
Guilhem Lavaux
4d3a259aff * Changed "wxPendingEvents" to pointers (tested on GTK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-03 09:24:52 +00:00
Vadim Zeitlin
103aec296a more backwards compatibility for printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 22:30:56 +00:00
Vadim Zeitlin
391364946e a simpler fix of textctrl key doubling bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2029 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 22:08:39 +00:00
Vadim Zeitlin
7708abe9cd wxMkdir() has 2nd param under Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 21:57:20 +00:00
Julian Smart
a0d8a30528 Fixed doubled-up key effects in wxTextCtrl by resetting m_lastMsg to 0
after calling Default().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 19:05:02 +00:00
Julian Smart
511327386b Switched wxMkdir code back to old working version.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 16:25:46 +00:00
Vadim Zeitlin
ae8db4dc3a setup.h for makefile builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 10:36:03 +00:00
J. Russell Smyth
7cf496bfdc removed declaration of wxObject::Dump(stream &str) from tex2rtf.cpp -
I cannot see a reason for it, and it wont compile under VC++ (redefined
function).  Code is still there commented out if someone knows why it
should be here and how to ifdef it so VC++ 6.0 can still build it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 00:35:45 +00:00
J. Russell Smyth
a4146f166f changed (no longer valid) wxToUpper and wxToLower to toupper/tolower
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-02 00:29:59 +00:00
Julian Smart
26ac40202f Fixed wxPalette memory leak when loading BMP files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-01 19:29:18 +00:00
Robert Roebling
d345e841da With the exceptions of DnD, wxGTk now works with
both GTK 1.0.6 and GTK 1.2.1 - the latter still
  produces warnings and blah.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-01 12:14:30 +00:00
Vadim Zeitlin
1a33c3ba91 wxMkDir() has 'perm' argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-01 12:01:47 +00:00
Vadim Zeitlin
5ab656cd53 wxFindNextFile typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-01 11:23:00 +00:00
Brian Macy
348675e1cc Very bad wxPrintData destructor... fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-31 23:01:10 +00:00
Robert Roebling
30f1b5f3ef added wxFrame::Command()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-31 17:53:27 +00:00
Robin Dunn
40c7a5fc4e Fixed the "Can't open file" message in ReadDIB so that it actually
displays the filename instead of garbage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-31 16:40:08 +00:00
Vadim Zeitlin
b207457ce7 wxFAIL/ASSERT/CHECK documentation updated, CHECK2 added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-31 13:59:39 +00:00
Vadim Zeitlin
b29518f8f9 count++ bug corrected (patch from Dino Scaringella)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-31 13:35:03 +00:00
Robert Roebling
3c1b65a4a8 Added debug code to clipbard
changed colour reporting to PS


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-31 13:01:43 +00:00
Harco de Hilster
cd7f122719 calls to wxDynamicToolBar::AddTool(int,wxBitmap&) confused egcs-1.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 19:29:02 +00:00
J. Russell Smyth
f1d534dfb5 Fixed wxApp::SendIdleEvents for Vadim's new wxWindowList wxTopLevelWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 17:28:16 +00:00
Vadim Zeitlin
7491d644e6 Motif compilation fixes (now ok)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 11:09:48 +00:00
Vadim Zeitlin
58230fb1b3 call to pthread_attr_setscope() added (disabled for now) and several other small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 11:09:18 +00:00
Vadim Zeitlin
4417b34387 1. notes for AIX compilation added
2. setup0.h existence documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 09:47:59 +00:00
Vadim Zeitlin
d524e22d02 docs synchronized with code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 09:47:18 +00:00
Vadim Zeitlin
82e06aa02f this file is now called setup0.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 09:46:27 +00:00
Vadim Zeitlin
e146b8c8bf wxTopLevelWindows is now a wxWindowList, better compatibility with the old
wxList in list.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-30 09:43:29 +00:00
J. Russell Smyth
8ffd43c56b changed removed wxToUpper to standard toupper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 22:17:15 +00:00
Vadim Zeitlin
c30aaf75f0 last fixes to fixes (MSW compilation works now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 21:18:49 +00:00
Brian Macy
e87b7b6000 Ignore failure when deleting something that might not exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 21:17:51 +00:00
Brian Macy
a43e96b6ce Don't fail when deleting files that might not exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 21:14:23 +00:00
Brian Macy
7e81174d0b Added time.h so it would compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 21:08:15 +00:00
Vadim Zeitlin
d6b9496a96 header changes for the fixes commited previously
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 20:49:05 +00:00
Vadim Zeitlin
0fb67cd196 many miscellaneous fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 16:46:18 +00:00
Vadim Zeitlin
8826f46f0d more backwards compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 16:43:40 +00:00
Vadim Zeitlin
c27eab7e9c EVT_TEXT_UPDATED bug fixed, text ctrl callbacks simplified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 14:44:21 +00:00
Karsten Ballüder
dd59841c33 Merged in latest wxLayout code from Mahogany Mail.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 09:56:44 +00:00
Julian Smart
0a3d0d1157 Undefed Yield symbol if defined, else syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 08:55:03 +00:00
Julian Smart
1d3dbc7b63 Fixed missing brace in app.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 08:51:32 +00:00
Harco de Hilster
8a252c002e added some more URLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-28 23:08:55 +00:00
Harco de Hilster
0bea2d47cb works for windows too now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-28 22:38:48 +00:00
Harco de Hilster
eeec36a21f updated. Lots of new useless features. Internet-enabled, as they say...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-28 20:55:44 +00:00
Harco de Hilster
0d236c34d0 somewhat better organization; still a mess though. Don't know why I'm
committing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-27 21:29:41 +00:00
Guilhem Lavaux
7214297d16 * Added threads event propagation. Should compile on GTK (tested).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-27 18:50:54 +00:00
Harco de Hilster
eedcfe5eb9 set background to white. EVT_CHAR still doesn't work in MSW though.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-27 15:11:59 +00:00
Harco de Hilster
35c1ca4bea very silly sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-26 23:07:46 +00:00
Julian Smart
33d28952b2 Added paper classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-26 21:14:01 +00:00
Julian Smart
7bcb11d307 Many changes to the printing classes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 23:06:01 +00:00
Vadim Zeitlin
0ed9a934ca wait4() replaced by waitpid() which is POSIX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 16:55:29 +00:00
Vadim Zeitlin
2804b6d824 wxUSE_SIZE_T_STRING_OPERATOR fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 15:47:09 +00:00
Vadim Zeitlin
700b95dd32 HAVE_BOOL fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 15:27:26 +00:00
Vadim Zeitlin
227b5cd72f AIX patches from Hans-Joachim Baader <hans-joachim.baader@cjt.de>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 15:05:57 +00:00
Vadim Zeitlin
9dc12949f1 Motif cell highlighting problem fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 14:51:14 +00:00
Vadim Zeitlin
66a007fbcb wxNO_BORDER honoured by wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 14:44:44 +00:00
Vadim Zeitlin
4d91c1d1ae char handling fixed again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-24 23:40:28 +00:00
Vadim Zeitlin
c4dbfe148c fix for scrolling in checklistboxes (Win32 only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-24 23:38:24 +00:00
Vadim Zeitlin
9e3e082102 hack to allow icons in wxStaticBitmap as well as bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-24 23:35:16 +00:00
Vadim Zeitlin
54bdd8b0ff char handling fixed once again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-24 23:34:18 +00:00
Vadim Zeitlin
dd3646fd30 CollapseAndReset() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-24 21:56:08 +00:00
Vadim Zeitlin
8cd850693f compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-24 21:44:33 +00:00
Vadim Zeitlin
c626a8b797 wxMenu code clean up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-24 19:05:19 +00:00
Harco de Hilster
1c22cf1cf1 Some minor fixes to satisfy Latex. Tex2rtf works ok.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 22:51:44 +00:00
Vadim Zeitlin
be1023d508 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 22:10:12 +00:00
Julian Smart
6cd47507e8 Corrected valtext.cpp for disabled controls; added Dialog Editor fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 19:56:58 +00:00
Vadim Zeitlin
cc385968c4 1. ReadMailcap/MimeTypes returna bool error code
2. 'fallback' flag added to ReadMailcap
3, subtle (and very rare) bug with mailcap entries order corrected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 17:39:47 +00:00
Vadim Zeitlin
3218cf580b wxFileDialog::GetFilename and GetDir work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 15:53:08 +00:00
Vadim Zeitlin
5919d76b44 EndModal() isn't called twice any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 15:52:39 +00:00
Vadim Zeitlin
f65635b5c9 EnsureVisible() also expands the parent items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 13:50:29 +00:00
Vadim Zeitlin
882eefb1f7 more fixes for paused thread termination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 13:27:03 +00:00
Julian Smart
d13c32e99d WS_CLIPCHILDREN is not always enabled in wxNotebook (caused painting problems).
Memory leak checking in app.cpp (wxMSW) now does checking from last checkpoint.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-23 09:14:07 +00:00
Vadim Zeitlin
879ba15fba issue with right aligned checkboxes added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 19:40:48 +00:00
Vadim Zeitlin
2cc0e28f6a hack to implement right aligned checkboxes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 18:55:24 +00:00
Karsten Ballüder
a818cceade fixed the description of wxSafeYield()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 14:51:27 +00:00
Vadim Zeitlin
43bb369911 wxSafeYield documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 13:30:41 +00:00
Vadim Zeitlin
d6d6268622 wxEvent::Skip() clarification added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 12:59:39 +00:00
Vadim Zeitlin
862cc6f9cd attempt to fix Delete/Pause deadlock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 12:49:05 +00:00
Vadim Zeitlin
29545b1dc6 unix directory added to 'clean' target
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 12:28:50 +00:00
Karsten Ballüder
ead7ce1013 Added wxSafeYield(wxWindow *win=NULL).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 10:22:26 +00:00
J. Russell Smyth
8496896226 Minor correction to allow "disabled" buttons to work under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-22 04:29:45 +00:00
Julian Smart
58a8ab8868 Added wxTreeCtrl::SetItemDropHighlight (wxMSW only);
added WS_CLIPCHILDREN style to wxNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-21 22:39:45 +00:00
J. Russell Smyth
aeab6775d8 Modified wxMSW listbox.cpp to work with wxCommandEvent::m_commandString
as wxString
Modified framelayout Makefile.vc's for move of settingsdlg.[h,cpp] and
wxinfo.[h,cpp] to sample/demo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-21 08:20:38 +00:00
Karsten Ballüder
fad866f4b7 Fixed wxExecute() to handle filenames with spaces and quoted arguments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-19 10:57:18 +00:00
J. Russell Smyth
2387e0f207 Added Makefile/Makefile.in to generate tex2rtf under linux/unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-17 20:23:02 +00:00
Vadim Zeitlin
22b4634c61 mime.types entries with all fields on same line parsed correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-17 16:25:49 +00:00
J. Russell Smyth
da7b3583d8 1 - fixed listbox.cpp to work with events with m_commandString member as wxString (fixing to match recent change)
2 - made wxSystemSettings::GetSystemColour(wxSYS_COLOUR_GRAYTEXT) return better value


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-17 11:11:15 +00:00
J. Russell Smyth
af11388a62 1 - Moved settingsdlg.[h,cpp] and wxinfo.[h,cpp] to demo where they belong
2 - removed pf_sample from library - this was test code
3 - modified newbmpbutton to create all button images once at initial
creation
4 - newbmpbutton only refreses when necessary
5 - non-msw platforms may now disable (enable(FALSE)) a button - this will half-grey the image and draw text in disabled color.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-17 11:07:19 +00:00
Vadim Zeitlin
2900641401 wxCommandEvent::SetString() change - now uses wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-16 18:54:24 +00:00
Vadim Zeitlin
f42d2aba76 wxTextFile::Close() implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-16 18:44:38 +00:00
Karsten Ballüder
c0c22f7f4f testing cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-16 17:39:19 +00:00
Vadim Zeitlin
9c6e1335a0 compilation without threads fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-16 13:46:56 +00:00
Vadim Zeitlin
6442ad7f48 wxMotif compilation fix: tooltips always disabled, motif/setup.h created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-15 13:22:15 +00:00
J. Russell Smyth
a1469addcd removed Antiflicker plugin and simple customize plugin from default
plugins


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-15 09:44:03 +00:00
J. Russell Smyth
862416e006 Completed Vadims HAVE_BOOL changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-15 09:33:49 +00:00
Vadim Zeitlin
68ad65f856 typos in error messages corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-14 22:31:35 +00:00
Vadim Zeitlin
fb9e1bc282 compilation fix (forgot to check in this one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-14 22:00:56 +00:00
Karsten Ballüder
6ba4e8aceb Fixes and more functionality.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-14 21:22:10 +00:00
Karsten Ballüder
77c630ca85 Should work very well now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-14 16:04:57 +00:00
Václav Slavík
86a9c8e02f fixed bug in GetMimeType under win
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-14 12:41:17 +00:00
J. Russell Smyth
49841b74a4 Made font/color fixes right for windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-14 07:52:50 +00:00
J. Russell Smyth
8a704c2b39 1. Made use system colors/fonts
2. Made able to use xpm's and honor xpm transparency


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-14 00:26:08 +00:00
J. Russell Smyth
cb0f2f5446 added wxSYS_COLOR_BTNTEXT case was missing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-14 00:15:19 +00:00
J. Russell Smyth
08973ff0aa Made frame layout stuff use system settings for colors, fonts
Added xpm's to frame layout demo area
makd fl_demo use xpm's under GTK
made fl use xpm transparency


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-13 23:58:43 +00:00
Guilhem Lavaux
294e9a7aa0 * Docs fixes, wxStream overview enabled (all docs should compile now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-13 20:14:37 +00:00
J. Russell Smyth
da9531bf35 1. added code to dyntbar to allow bitmap loading from windows resources
2. modified fl_demo sample to use bitmaps in windows resource to allow
   run-from-anywhere behaviour under windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-13 00:42:30 +00:00
Vadim Zeitlin
7cf8cb48f8 another attempt to improve combobox behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 21:36:27 +00:00
Vadim Zeitlin
8a85884a0f some UI adjustments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 21:22:46 +00:00
Vadim Zeitlin
5f99187160 typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 19:49:26 +00:00
Vadim Zeitlin
23f6fd7bf3 compilation fix (another typo...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 19:39:02 +00:00
Vadim Zeitlin
afefdd933b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 19:38:12 +00:00
Vadim Zeitlin
fc9ef629ac another (last?) FreeBSD thread compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 19:35:30 +00:00
Vadim Zeitlin
57493f9f85 more things are done by configure: checks for bool, whether overloading based
on size_t/int works or not (for wxString), the type of 3rd argument to
getsockaddr, absence of libXpm is not fatal (not tested), whether strings.h
exists


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 19:12:49 +00:00
Guilhem Lavaux
55b7bba191 * wxStreams overview added to the documentation. I didn't yet tested it
so I didn't activate it ...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 18:42:15 +00:00
Julian Smart
8162b84897 Minor doc tweaks plus major wxTreeCtrl bug fixed (double deletion of tree items
in some circumstances)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 16:52:29 +00:00
Karsten Ballüder
81f1bb400a fixed locking problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 16:09:09 +00:00
Vadim Zeitlin
2d45abf154 test for bool is now done in configure, not by manually testing compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 15:52:55 +00:00
Vadim Zeitlin
6184444ce5 typo corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 15:43:45 +00:00
Vadim Zeitlin
1bfcb0b6c3 some fixes for AIX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 15:23:00 +00:00
Vadim Zeitlin
0138c2de79 crash for frames without children corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 15:21:14 +00:00
Vadim Zeitlin
5f12ae5cd7 wxYield() calls OnInternalIdle() of all top level windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 14:25:45 +00:00
Vadim Zeitlin
903b682c6b thread compilation fixed for FreeBSD 3.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 14:12:38 +00:00
Karsten Ballüder
d90810420b fixed a listctrl index bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 09:25:12 +00:00
J. Russell Smyth
25fe862014 Added note about new make files for frame layout samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 00:34:31 +00:00
J. Russell Smyth
299d04bca8 New makefiles for samples under Visual C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-12 00:29:34 +00:00
Vadim Zeitlin
1363811bb6 wxMotif Solaris 2.6 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-11 15:16:39 +00:00
Karsten Ballüder
80cb83bef2 Fixed configure/linkage for non-threaded case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-11 10:37:09 +00:00
Karsten Ballüder
7e72761c5e Another solaris 2.5 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-11 09:57:22 +00:00
Karsten Ballüder
cc743a6f79 gcc 2.8.0/solaris compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-11 09:44:53 +00:00
Vadim Zeitlin
1e8a4bc241 wxLogStderr sends output to debugger too under Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-10 22:03:06 +00:00
Vadim Zeitlin
5e0b1434d4 simplified test for thread libs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-10 16:21:20 +00:00
Vadim Zeitlin
5f0f31fefd stripping is now done during installation, not linking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-10 14:24:50 +00:00
Vadim Zeitlin
bdcbd8a791 GetMaxSize() docs updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-10 13:00:52 +00:00
Harco de Hilster
0fc52d4112 added Russ Smyth fix for VC6 compile problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-09 22:11:42 +00:00
Stefan Csomor
3e418ffc10 corrected a type in the constructor from two points
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-09 18:28:50 +00:00
Vadim Zeitlin
b8e9dd4359 arbitrary characters allowed in wxFileConfig entry names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-09 18:09:43 +00:00
Stefan Csomor
21d423d3d3 Read was not copying back the buffers contents into the string parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-09 17:12:05 +00:00
Vadim Zeitlin
7c26969c48 create unix subdir if doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-09 13:43:44 +00:00
Harco de Hilster
839eb2915d minor update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-08 22:16:00 +00:00
Harco de Hilster
9bcbb65d4f vc makefile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-08 22:07:36 +00:00
Harco de Hilster
8e6b0231f1 a few win32 makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-08 22:02:46 +00:00
Karsten Ballüder
2e0bceb668 Fixed checking for libjpeg and linking against it which were broken.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-08 14:13:56 +00:00
Julian Smart
706bb5f973 Small changes incl. making wxTAB_TRAVERSAL always on in wxDialog (wxMSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-08 11:22:31 +00:00
Harco de Hilster
6e0e2e9ccd fixed treectrl bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-08 00:34:17 +00:00
Harco de Hilster
46735f5536 ignore this :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-08 00:12:40 +00:00
Harco de Hilster
3699625257 readme file, for reading.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-07 23:57:57 +00:00
Harco de Hilster
3641264278 removed big-ass manual.html file from src dir.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-07 23:35:44 +00:00
Harco de Hilster
bd9396d52d Added Aleksandras' framelayout code, with more or less working Linux Makefiles
General makefiles to be added later.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-07 23:34:37 +00:00
Vadim Zeitlin
8c0d01c876 Win compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-07 23:31:46 +00:00
Vadim Zeitlin
978304896b bug fix for kbList::erase (done long ago in M version)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-07 23:01:40 +00:00
Karsten Ballüder
43e916c33e New, rewritten, wxLayout. Almost complete.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-07 21:38:50 +00:00
Julian Smart
f5ee2e5f8f Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-06 11:51:06 +00:00
Vadim Zeitlin
72914c567f HAVE_SCHED_H test added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-06 00:31:05 +00:00
Vadim Zeitlin
34f8c26e93 more FreeBSD thread fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-06 00:30:23 +00:00
Vadim Zeitlin
ab8247f4b9 Borland makefile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-06 00:28:49 +00:00
Vadim Zeitlin
518b5d2ffb 1. the common helper functions are now in src/unix/utilsunx.cpp
2. POSIX threads are in src/unix/threadpsx.cpp
3. some more functions are detected using configure and not  guessed from the
   platform type


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-06 00:11:27 +00:00
Vadim Zeitlin
cf6c13a14f this code is now common (src/unix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-06 00:04:53 +00:00
Vadim Zeitlin
68401dfe2c (more) FreeBSD thread fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 16:24:07 +00:00
Vadim Zeitlin
91845adaba checks for various thread functions added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 16:04:32 +00:00
Vadim Zeitlin
c293350081 thread detection works on FreeBSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 13:50:47 +00:00
Vadim Zeitlin
afce4c035f compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 13:23:38 +00:00
Robert Roebling
17867d61dc Two optical corrections
#ifdeffed the cursor code in splitter and sash
  Made tex2rtf compile

  I will release this as 2.0.1


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 12:40:11 +00:00
Karsten Ballüder
cb813dee48 Utility scripts for external HTML help controller.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 10:34:45 +00:00
Robin Dunn
62abd41ede Minor wxPython changes for wxWin 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-05 07:23:42 +00:00
Vadim Zeitlin
9f68a1f235 nanosleep() detection works for Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-04 19:49:01 +00:00
Vadim Zeitlin
c9b6828bfc nanosleep() detection works for Solaris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-04 19:46:40 +00:00
Vadim Zeitlin
5b34447be3 HP-UX compilation fixes (or so I hope)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-04 17:43:06 +00:00
Vadim Zeitlin
afb7489128 wxUsleep() introduced (and documented) to try to work around usleep() bug in
MT programs under Solaris


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-03 17:11:14 +00:00
Vadim Zeitlin
ba6f401d45 SGI compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-03 17:05:25 +00:00
Julian Smart
803ef87492 Corrected event.h for wxKeyEvent/wxMouseEvent, and corresponding docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-02 16:21:27 +00:00
Robert Roebling
180307dac0 Chnaged wxGLCanvas::SetSize() to DoSetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-02 11:23:42 +00:00
Robert Roebling
370ae202e1 Now enabling sockets enables sockets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-02 10:56:37 +00:00
Robert Roebling
d28e197756 now wxsocket is on by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-02 08:59:15 +00:00
Robert Roebling
b1a39f47f8 Removed warnings from tbarsimpl
Now wxSlider also works for negative values.
  wx-config reports 2.0.1
  made wxUSE_SOCKET default
  forgot to run autoconf


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-02 08:56:59 +00:00
Robin Dunn
b8c99a930e Changes for allowing wxRA_SPECIFY_ROWS and wxRA_SPECIFY_COLS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 23:21:39 +00:00
Julian Smart
b69f1bd186 Cured some Motif bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 22:41:38 +00:00
Vadim Zeitlin
66d781461d warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 18:20:36 +00:00
Vadim Zeitlin
26128999a7 wxCriticalSection changes undone - should work now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 18:20:12 +00:00
Julian Smart
7d532b0ceb Removed my buggy bug-fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 16:31:36 +00:00
Vadim Zeitlin
50ef256ed3 argc == 0 bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 15:49:34 +00:00
Vadim Zeitlin
54f04bc0ab FreeBSD compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 15:47:28 +00:00
Vadim Zeitlin
6380910c1f wxSpinButton works ok with negative values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 14:30:43 +00:00
Julian Smart
20e85460c4 Added dummy OnIdle to wxWindow in wxGTK; doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 13:06:15 +00:00
Harco de Hilster
4218848890 Added Makefile[.in] for wxGTK standard build. Are not yet used, because
wxGTK's createall script doesn't look in this dir...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 01:31:51 +00:00
Harco de Hilster
af6c301b95 added Makefile[.in] for build using wxGTK method. Note that wxGTK's createall
script doesn't yet look this deep, so it's not very usefull now...

also fixed some wxGTK compile problems.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-01 01:26:11 +00:00
Julian Smart
4ac1ab8836 Added tbarsmpl.cpp (hope that's OK...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 23:48:02 +00:00
Julian Smart
9a05fd8d13 wxUSE_SOCKETS added to setup(0).h; Cygwin corrections; doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 23:39:59 +00:00
Harco de Hilster
a5dec9e54d Modified makefile.unx to include bitmaps dir. Added missing folder.xpm
to bitmaps


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 21:56:55 +00:00
Julian Smart
2a47d3c193 Doc mods; fixed return non-processing problem; fixed toolbar sizing problems
(incl. MDI area clipping); put wxPrintPaperDatabase, wxPrintPaperType into prntbase.cpp
since it's needed in non-PostScript WIN16 for the generic page setup dialog;
corrected some 16-bit makefiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 20:59:08 +00:00
Robert Roebling
828f655fd3 added wxMenu::Append( wxMenuItem )
added keyboard hooks to glcanvas
  fixed probs with slider/spin button etc


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 18:03:27 +00:00
Vadim Zeitlin
dd3c394ae4 wxCheckListBox fixes: crash/memory leak when items are dynamically
inserted/deleted corrected and docs updated


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 15:35:51 +00:00
Vadim Zeitlin
9018abe3ef shows different SetCursor() calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 14:18:05 +00:00
Vadim Zeitlin
3eddf563ed SetCursor() doesn't set cursor for children of the window any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 14:16:33 +00:00
Vadim Zeitlin
9e2be6f02e wxArrayString documentation added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 13:58:05 +00:00
Guilhem Lavaux
35a4dab713 * Added "--with-sockets" and made wxSocket optionnal.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 12:36:21 +00:00
Vadim Zeitlin
0ab913706d some more files to ignore for cvs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-28 00:00:41 +00:00
Vadim Zeitlin
666887645f cursor problem in sash windows corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 23:55:04 +00:00
Vadim Zeitlin
cfb7687556 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 23:54:22 +00:00
Vadim Zeitlin
e373f51b6c 1. wxListCtrl fixes
a) implemented GetColumnCount()
 b) columns are always created with some reasonable (i.e. != 0) width

2. wxRadioBox: keyboard navigation now works inside it (almost) as it should


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 23:52:48 +00:00
Vadim Zeitlin
212d0bb3c7 added 'provides wxwin'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 23:16:54 +00:00
Vadim Zeitlin
ac91b9d22a unused param warning suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 22:51:13 +00:00
Guilhem Lavaux
375abe3dac * wxSocket fixes: FTP, HTTP works really now. GTK fixes to prevent infinite loop.
* wxSocket stream fix: they can be encapsulated by now
* Doc update: wxURL::GetPath


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 21:01:05 +00:00
Vadim Zeitlin
839b865d08 VK_APPS handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 14:40:06 +00:00
Vadim Zeitlin
d3f0a137d2 MSWProcessMessage speed up by a factor of 100 (at least)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 14:39:34 +00:00
Vadim Zeitlin
f7c832a786 wxTreeCtrl::GetBoundRect() implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 14:38:46 +00:00
Vadim Zeitlin
0a54c4a8cd keyboard navigation in dialogs works (again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 14:37:31 +00:00
Vadim Zeitlin
296ec7d3ac 1. typos corrected in ftp/protocol/url (Members is no longer a hyperlink
leading to nowhere)
2. wxTreeCtrl::GetBoundRect() documentation updated


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 14:36:05 +00:00
Guilhem Lavaux
41895a05ea * Big memory bug fixed in socket/getline fixed.
* Added two missing "virtual" in stream.h (Sorry, you'll have to rebuild all)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 11:32:10 +00:00
Robin Dunn
ed175610f0 Added missing wxRA_SPECIFY_ROWS, wxRA_SPECIFY_COLS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 04:21:58 +00:00
Robin Dunn
022380e0a5 minor tweaks for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 04:20:50 +00:00
Vadim Zeitlin
f8d8ae383a i18n overview
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 01:43:43 +00:00
Vadim Zeitlin
f4621a09f0 wxSetCursor() bug with splitters corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 01:33:05 +00:00
Vadim Zeitlin
ed93168bf9 1. (very) short i18n overview added, wxGetTranslation() documented.
2. wxTreeCtrl overview written and documentation updated
3. wxString docmunetation updated (no more unresolved references)
4. wxWindow::SetCursor() recursive behaviour mentioned


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-27 01:26:26 +00:00
Julian Smart
721b32e058 DoSetClientSize omissions fixed; some doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 22:22:13 +00:00
Vadim Zeitlin
585037876a char */wxString confusion cleaned in the docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 21:13:12 +00:00
Vadim Zeitlin
60acb9473f wxLog fix as for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 20:56:54 +00:00
Guilhem Lavaux
5a99f84afe *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 18:54:44 +00:00
Guilhem Lavaux
0d6957a540 * Missing doc file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 18:51:51 +00:00
Julian Smart
b23386b266 Fixed wxMSW arrow key bug, changed wxPoem window to a wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 18:04:12 +00:00
Julian Smart
532372a31c Doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 17:29:39 +00:00
Harco de Hilster
3a2629c0a2 added double click handler. various minor fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 17:01:16 +00:00
Julian Smart
fd34e3a570 Some doc fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 09:45:30 +00:00
Harco de Hilster
7d255c9c34 A port of tkPlotCanvas.py. Requires Numeric module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-26 00:25:13 +00:00
Julian Smart
ab6e89dea5 wxBitmapButton bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 22:53:49 +00:00
Guilhem Lavaux
9a1b2c283e * Added a small wxHTTP description
* Added some example/description to wxFTP
* Some more on wxURL

* Added missing file in wxMMedia


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 20:13:10 +00:00
Vadim Zeitlin
623e1cb209 delete all log messages suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 15:45:33 +00:00
Julian Smart
777553d227 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 15:09:23 +00:00
Julian Smart
40b480c35d Corrected some .tex problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 15:07:00 +00:00
Vadim Zeitlin
a994f81b94 1. validator fixes: don't eat TAB. Added new SetBellOnError() function to
suppress _annoying_ bell.
2. Docs and samples updated to reflect this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 14:47:18 +00:00
Vadim Zeitlin
bb0ca8dfcc InsertItems() implemented for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 13:50:44 +00:00
Vadim Zeitlin
bbdbfb0e3d check list box sample updated to test InsertItems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 13:50:16 +00:00
Vadim Zeitlin
e3f3949907 more HP-UX fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 13:38:09 +00:00
Vadim Zeitlin
81108288e6 InsertItems() documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 12:38:56 +00:00
Vadim Zeitlin
25b1fc055a SetSize() fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 12:25:55 +00:00
Karsten Ballüder
02da33e27d GetNextItem() now checks for item < GetItemCount() to avoid illegal
wxList access beyond end of list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 10:32:48 +00:00
Vadim Zeitlin
539dae5200 more DG-UX compilation fixes (thanks to Benjamin Beckwith)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 09:36:35 +00:00
Robin Dunn
c3c1cebed3 wxPython version 2.0b5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 07:18:52 +00:00
Robin Dunn
0699c8646a wxPython version 2.0b5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-25 07:09:51 +00:00
Vadim Zeitlin
99f09bc1b9 wxString docs are nearly complete (but don't compile :-( ), a brief threads
overview


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 23:53:40 +00:00
Vadim Zeitlin
ec9f78844b demonstrates SetCursor() now too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 23:50:59 +00:00
Vadim Zeitlin
1aff8b0241 SetCursor() works now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 23:48:32 +00:00
Vadim Zeitlin
db2150a19b added /usr/include/Xm to the search path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 14:53:59 +00:00
Vadim Zeitlin
68995f26e8 wxGTK fixes for the yesterday's addition of m_isWindow flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 13:15:42 +00:00
Robin Dunn
21f280f4ec More wxPython docs...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 08:17:50 +00:00
Julian Smart
ad813b00d5 Some stubs corrections; Motif corrections incl. busy cursor fix; doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 08:02:28 +00:00
Harco de Hilster
3cc7ea5302 Some wxPython interface change updates. Moved refresh button. Platform
sensitive defaults for external browser. uses wxYield instead of (silly)
quicktimer hack.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-24 00:46:09 +00:00
Robin Dunn
afc48cd0d8 reenabled some methods for wxPython on wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 23:48:55 +00:00
Vadim Zeitlin
f7c44a6a16 wxCritSection change to accomodate mem checking system (even better :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 23:24:50 +00:00
Vadim Zeitlin
00fdc89da8 wxCritSection change to accomodate mem checking system
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 23:23:00 +00:00
Vadim Zeitlin
6bf5720681 more cursor fixes (now ::wxSetCursor() works too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 23:08:40 +00:00
Václav Slavík
02b5126b85 Czech language
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 23:00:22 +00:00
Vadim Zeitlin
c793fa8756 some very minor fixes (I don't even remember what exactly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 22:57:19 +00:00
Vadim Zeitlin
d20eef8ac8 menu help string fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 22:53:48 +00:00
Vadim Zeitlin
634903fd04 wxBeginBusyCursor now works (better)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 22:51:14 +00:00
Vadim Zeitlin
e5c0b16a78 wxLogXXX() functions called near app termiantion shouldn't crash
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 22:49:26 +00:00
Vadim Zeitlin
90022ddc1e compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 22:43:48 +00:00
Vadim Zeitlin
3aa0e8fa2b new options: wxUSE_OLE (on by default except for some compilers),
wxUSE_DYNLIB_CLASS (off by default)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 22:42:49 +00:00
Vadim Zeitlin
193bf01364 small optimizations: m_isWindow and m_isCommandEvent flags introduced
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 22:41:37 +00:00
Vadim Zeitlin
89a43902a8 another wxBeginBusyCursor fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 19:05:55 +00:00
Vadim Zeitlin
7c39369e5a some feeble attempts at making wxBeginBusyCursor work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 18:57:01 +00:00
Vadim Zeitlin
a1d8eaf7a9 support for incorrect entries in .mime.types added (world is not perfect, alas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 18:26:04 +00:00
Vadim Zeitlin
20d10ee18b SetSelection(from, to) and SetEditable() implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 18:13:52 +00:00
Vadim Zeitlin
8a0d4cf6c5 HP-UX compilation fixes (thanks to Zdravko Bas)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 17:51:46 +00:00
Vadim Zeitlin
eb9bbf52b6 1. C++ comments removed from setup.h
2. --with-dynlib option added (wxUSE_DYNLIB_CLASS)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 17:48:53 +00:00
Vadim Zeitlin
69a282d4e6 crash in some very special case when arrows were used to move around fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-23 15:43:05 +00:00
Vadim Zeitlin
0b5efdc724 listview has LVS_EX_FULLROWSELECT style when supported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 23:15:21 +00:00
Vadim Zeitlin
3e4efd7cb9 dlopen fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 20:34:06 +00:00
Vadim Zeitlin
58e8de26aa dlopen() also exists under FreeBSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 19:48:34 +00:00
Vadim Zeitlin
7b0bfbb256 HP-UX support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 19:42:45 +00:00
Karsten Ballüder
f76f940bce Fixed DoSetClientSize() causing infinite recursion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 14:50:16 +00:00
Julian Smart
2de8030dbe Soem corrections for SetSize changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 13:28:13 +00:00
Vadim Zeitlin
bfc6fde4b1 GetSize() and GetClientSize() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 11:01:13 +00:00
Julian Smart
1edddaf24c Corrected WM_KEYDOWN bug (missing 'break')
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 10:31:34 +00:00
Julian Smart
7c5dc04fd2 Minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 09:32:50 +00:00
Vadim Zeitlin
e541d0bf0c error msg when there are no files in wxFindFirst() removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-21 23:17:13 +00:00
Vadim Zeitlin
d12e353663 1. more C++ parser fixes - now it almost parses wx/string.h
a) #if/#ifdef/#else (very) limited support
 b) param type fix - now indirection chars are correctly handled
 c) class/struct/union distinction
 d) public/private fixes
 e) Dump() function added - very useful for debugging

2. option to ignore parameter names during 'diff' (in fact, they're ignored
   by default, and this option switches it on)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-21 22:32:46 +00:00
Václav Slavík
c4c794e1d0 NO_GUI bug fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-21 12:59:54 +00:00
Vadim Zeitlin
71b8c213cb wxListCtrl column resize bug corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 23:17:26 +00:00
Vadim Zeitlin
f71f5a4fe1 1. better 'const' and 'virtual' functions handling
2. operators are now supported
3. tokens such as "<=" and "!=" are now tokenized properly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 23:01:55 +00:00
Vadim Zeitlin
5f7cf62fbf 1. new 'diff' mode which seems to work
2. output files are not overwritten in 'dmup' mode
3. fixes for better handling of const functions and operators


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 23:00:26 +00:00
Vadim Zeitlin
037267e156 \\param -> \param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 22:50:06 +00:00
Vadim Zeitlin
e6c2ee9583 ignore file for HelpGen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 22:49:10 +00:00
Robin Dunn
21f8d7ea6b Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
window handle.  If you can get the window handle into the python code,
it should just work...  More news on this later.

Added wxImageList, wxToolTip.

Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
wxRegConfig class.

As usual, some bug fixes, tweaks, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 10:05:52 +00:00
Robin Dunn
b57bdb5a3f Changes needed to enable wxGTK compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 10:02:38 +00:00
Robin Dunn
1176513863 Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
window handle.  If you can get the window handle into the python code,
it should just work...  More news on this later.

Added wxImageList, wxToolTip.

Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
wxRegConfig class.

As usual, some bug fixes, tweaks, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 09:11:32 +00:00
Robin Dunn
af309447ff Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
window handle.  If you can get the window handle into the python code,
it should just work...  More news on this later.

Added wxImageList, wxToolTip.

Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
wxRegConfig class.

As usual, some bug fixes, tweaks, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 09:05:04 +00:00
Robin Dunn
7010b7bccd Added missing | symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-20 06:53:36 +00:00
Julian Smart
0bc9b25e9a Added George Tasker's forward slash fix to file dialog; added some consts to prntbase.h;
removed redundant IMPLEMENT_WXWIN_MAINs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-19 21:54:37 +00:00
Robin Dunn
b97b1af824 added wxSetInstance()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-19 19:35:30 +00:00
Vadim Zeitlin
64716cd79d some minor fixes for DEC CXX compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-19 17:32:03 +00:00
Vadim Zeitlin
ebefb2f345 more locations for Motif headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-19 15:51:04 +00:00
Vadim Zeitlin
e370f4029e directory for message catalogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-19 15:05:11 +00:00
Robert Roebling
51cc4dad89 propagate key event from listctrl to its parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-19 13:24:18 +00:00
Robin Dunn
06d20283af Added first batch of docs and notes for wxPython.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-19 07:58:02 +00:00
Julian Smart
2e35f56f6d Fixed wxMotif's wxExecute again, added OnPaint capability to wxFrame,
removed old focus code from wxGTK's ~wxWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 22:51:03 +00:00
Julian Smart
0492c5a094 Cured last focus bug (I hope); some wxMotif mods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 21:24:11 +00:00
Vadim Zeitlin
dd0e574a0e i18n fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 19:39:03 +00:00
Guilhem Lavaux
8a7c9dcc1c * Fixes and updates on wxMMedia.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 18:18:06 +00:00
Stefan Csomor
b2cce0c457 mbstowcs hack for CodeWarrior's MSL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 17:59:32 +00:00
Julian Smart
c1e73a4c94 Doesn't overwrite setup.h now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 15:12:41 +00:00
Vadim Zeitlin
da61ab3189 a file I forgot to check in (sorry Julian)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 15:11:18 +00:00
Julian Smart
33b64e6f8b Added 'tardist' script for creating .tgz archives of wxWin; cured wxExecute
crash on wxMotif; added wxHelpControllerBase::SetViewer; added consts to wxColour
== and != operators; changed beta version; fixed wxChoice/wxComboBox bugs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 14:55:34 +00:00
Vadim Zeitlin
a5a19b8360 wxMimeTypesManager::IsOfType() added (and documented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 14:23:24 +00:00
Vadim Zeitlin
d37fd2fada wxSplitPath() bugs corrected and it's documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 14:22:23 +00:00
Robert Roebling
a7ac4461ab Dialog items inherit parent's font now
Augmented beta to 5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 14:04:46 +00:00
Vadim Zeitlin
d1d3ccbe2b vsnprintf() detection now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 09:37:50 +00:00
Vadim Zeitlin
8a17d0eb54 AC_HAVE_LIBRARY replaced with AC_CHECK_LIB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 09:28:03 +00:00
Vadim Zeitlin
e6045e08ed wxExecute() fixes and doc updates: the return value for sync exec case is now
the exit code of the process and not its pid. Warning: MSW code is untested.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 21:04:47 +00:00
Vadim Zeitlin
220a0f42d4 wxExecute() fix (running console programs doesn't cause X errors any more)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 20:26:38 +00:00
Julian Smart
b8ecf3e993 Added missing const to wxGTK's wxMDIChildFrame::GetToolbar; added bc_ide.txt instructions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 19:26:42 +00:00
Vadim Zeitlin
7e84f02dfd wxProcess fixes (Detach() added), cleared/corrected wxExecute() documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 17:56:59 +00:00
Julian Smart
ca5c8b2df6 Changed .vc makefiles to allow different configurations to co-exist (so library
names have changed a bit). Split ipvaddr.tex from sckaddr.tex.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 17:18:22 +00:00
Robert Roebling
de8113d9a3 Let's face it, GTK's resizing is broken and
I cannot repair it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 16:42:36 +00:00
Vadim Zeitlin
d3dcceb436 wxListCtrl will receive EVT_CHAR() events now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 13:36:48 +00:00
Robert Roebling
f5eafd0e55 resize fun
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-17 10:13:12 +00:00
Julian Smart
dbdb39b2d0 Some doc corrections; removed wxDocument arg from wxView constructor;
wxTextCtrl::OnChar correction; added SetString and default constructor
to wxStringTokenizer; added missing MSW wxFrame::SetSize functions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-16 20:17:02 +00:00
Robert Roebling
e27ce4e910 MDI fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-16 15:36:43 +00:00
Robert Roebling
4fcd73bd9b Applied Russel's changes to wxToolBarBase
fixed stippled brush for bitmaps (as opposed to pixmaps)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-16 09:31:28 +00:00
Vadim Zeitlin
84c188148d A couple of identifiers at global level moved to the .cpp file from .h where
they had nothing to do from the very beginning


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 23:09:33 +00:00
Vadim Zeitlin
59734eb597 1. Parser improvements
a) const and virtual methods are parsed correctly (not static yet)
 b) "const" which is part of the return type is not swallowed

2. HelpGen improvements: -o outputdir parameter added to the cmd line,
   "//---------" kind comments discarded now.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 23:07:37 +00:00
Vadim Zeitlin
c1b7dab08b started wxIntl documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 23:04:52 +00:00
Julian Smart
954b8ae603 Added 'Include files' section to class references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 20:41:29 +00:00
Vadim Zeitlin
a2ace6ff1f enable verbose messages by default in debug builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 19:26:17 +00:00
Vadim Zeitlin
c429c0bfc4 compilation warnings about missing braces fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 15:06:10 +00:00
Julian Smart
cf0b3979bc GnuWin32 corrections (::ZeroMemory doesn't exist)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-15 13:05:58 +00:00
Julian Smart
c7f49969d6 Added png, zlib targets to 16-bit makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-14 23:23:19 +00:00
Vadim Zeitlin
16f6dfd814 made wxToolTip::Enable() and SetDelay() static (as in wxGTK) and added some
code in the controls sample to test them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-14 21:59:48 +00:00
Guilhem Lavaux
9fc0fe377b * Stream: update in doc, fix in code.
* wxMMedia: various fixes, WAV and AIFF should work on Linux, preparing it
    for Windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-14 17:46:47 +00:00
Robert Roebling
20239453d5 Fixed refresh bug in wxGLCanvas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-14 13:04:39 +00:00
Julian Smart
aed0ed3c42 Small Tex2RTF fixes; wxMotif compile fixes (motif.inc, wxCheckListBox);
wxMSW wxWindow::IsShown fix


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 22:00:14 +00:00
Guilhem Lavaux
b36f57c252 * Stream doc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 19:03:32 +00:00
Guilhem Lavaux
9f3430a6d4 * Added some warning in socket doc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 18:31:00 +00:00
Vadim Zeitlin
503d5ba994 wxToolTip entry changed (it's implemented after all)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 15:05:56 +00:00
Vadim Zeitlin
dccf032a11 added a couple of items for 2.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 15:03:35 +00:00
Vadim Zeitlin
b2ff82b9fd mentioned the fact that wxArray can't be used for storing floats/doubles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 13:55:22 +00:00
Julian Smart
cba2db0c29 Some doc corrections (added blank lines at end of docs); corrected Forty sample
dialog behaviour; added dummy menubar constructors; corrected wxMSW wxRegion bug


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-12 08:22:29 +00:00
Robert Roebling
b98d804b28 Added CTRL-TAB navigation to notebook
Added ESC -> Cancel convresion
  Added greying out of tooltips (I had some spare minutes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 20:44:38 +00:00
Stefan Csomor
48b7862630 CW Win32 and Mac adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 17:41:23 +00:00
Vadim Zeitlin
e4ffaca455 "continue;" restored to prevent the app from going into infinite loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 17:29:09 +00:00
Stefan Csomor
8be97d65a6 CW Win32 and Mac adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 16:56:43 +00:00
Robert Roebling
5664fc3253 distrin corrections files
the return of TAB, part IV


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 16:27:56 +00:00
Julian Smart
a91b47e800 Solved wxMotif scrolling display problem; added wxImageModule;
added wxRETAINED support in wxMotif; changed wxDC::SetBackground behaviour;
changed OnKeyDown/OnChar behaviour; fixed wxToolBar toggle bugs; fixed
wxImage on wxMotif bug whereby new was used to allocate XImage data


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 16:00:33 +00:00
Vadim Zeitlin
b4b92fa660 added FreeBSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 13:59:49 +00:00
Vadim Zeitlin
3f263f4542 compilation fixes for gcc 2.7.2.1 under FreeBSD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 13:58:30 +00:00
Robert Roebling
8fc613f14f Solaris compilation patches
dbtest now works a little


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 12:44:10 +00:00
Robert Roebling
3502e687e2 distribution things
implemented native docking for menus and toolbars
    (see toolbar sample) someone may have to create
    the new wxMenuBar constructor
  corrected wxFileDlg appearance and made it i18n
  implemented defaults buttons
  improved look of all common dlgs except print setup
  corrected forty's player dlg
  added wxMB_DOCKABLE and wxTB_DOCKABLE flags
  augmented BETA_VERSION to 4
  prevent wxListBox from sending a list_item_selected
    event when adding the first item to a list that
    is a single selection list using AppendXX()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 23:08:27 +00:00
Julian Smart
750b78ba35 Cured some small doc typos; some WIN16 fixes; transferred DLL WinMain to
IMPLEMENT_APP() macro so dummy.obj doesn't have to be linked; lexer.l fix
for LEX (I hope)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 22:44:53 +00:00
Vadim Zeitlin
debdd17e99 bug in wxSplitPath() corrected: the returned file name doesn't have the
trailing dot any more


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 20:47:01 +00:00
Guilhem Lavaux
7f42cff13e * Doc updates
* Fixes about socket, stream core, a superfluous stream.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 20:01:06 +00:00
Robert Roebling
5e1962f77f isosurf corrections
#ifdeffed tab code in wxPanel


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 17:15:19 +00:00
Karsten Ballüder
cdb664d45d added test for long long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 16:33:21 +00:00
Karsten Ballüder
6c56b261b7 Added test for long long type. (Really trivial, see setup.h: SIZEOF_xxx)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 16:14:18 +00:00
Vadim Zeitlin
3ad5e06b4a wxSplitterWindow::ReplaceWindow() function added and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 13:38:12 +00:00
Vadim Zeitlin
4e13eb84aa added #include <fcntl.h> to allow compilation under Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 12:55:15 +00:00
Robert Roebling
f234c60c4a Various update to Blit() SetBackground() Clear() etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 11:56:15 +00:00
Karsten Ballüder
616c87c9b7 small modification to stdin/stdout/stderr behaviour in wxExcute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 11:19:10 +00:00
Julian Smart
d4ec5d3211 Added wxUSE_STREAMS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-10 10:06:17 +00:00
Robin Dunn
921b3c1799 fixed somebody's typo in a preprocessor directive (&6 --> &&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 22:58:34 +00:00
Vadim Zeitlin
59fcb8f8cc wxMSW compilation problem fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 22:39:55 +00:00
Julian Smart
5b6aa0ff15 Removed some TODOs in the Latex docs; changed wxMotif wxClipboard to match
wxGTK/wxMSW syntax; added Ron Kuris' wxExecute patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 21:22:58 +00:00
Julian Smart
3b1e466ce9 Fixed property list OnClose problem that caused Dialog Editor problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 18:19:15 +00:00
Guilhem Lavaux
da3aea64f9 * wxStream doc updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 18:12:20 +00:00
Vadim Zeitlin
7af89395ba wxFindFirst/NextFile() now return wxString and not "char *", wxGetCwd() added
(to be used instead of wxGetWorkingDirectory)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 17:04:29 +00:00
Vadim Zeitlin
30b21f9a04 wxArrayString::Sort() implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 16:52:19 +00:00
Julian Smart
dbda9e86f0 Added more makefiles; fixed some samples for Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 16:00:23 +00:00
Julian Smart
fed485e094 Added more makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 15:40:15 +00:00
Julian Smart
8e0080ee4e Rationalised Cygwin sample makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 15:37:52 +00:00
Stefan Csomor
a6eb3b948b cw pro adaption (illegal default argument error was given)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 09:58:12 +00:00
Robert Roebling
e4677d31b4 custom icons for DnD
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 08:18:14 +00:00
Robert Roebling
c46554be77 radiobox optical changes
textctrl single line append/insert stuff
  more precise testing of the above in controls


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-09 07:25:11 +00:00
Vadim Zeitlin
a9d6a93cd5 micro compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-08 22:13:18 +00:00
Julian Smart
176ca304b5 Make it binary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-08 17:19:21 +00:00
Robert Roebling
cad880f57f Keep up the good work, people...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-08 16:25:52 +00:00
Karsten Ballüder
b38142f370 updated wxLayout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-08 15:20:38 +00:00
Karsten Ballüder
eebb848a85 fixed linkage problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-08 12:04:14 +00:00
Vadim Zeitlin
cb6827a8c6 wxProcess-related code now works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-08 11:59:54 +00:00
Karsten Ballüder
f7f1f70f4b compilation fixes
PLEASE CHECK valgen.cpp: I had to insert a #include <wx/wx.h> to make it compile.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-08 10:54:05 +00:00
Julian Smart
1f916a19f1 Tried to fix wxPanel bug (windows now set the panel current focus window on deletion);
undid wxMSW wxRadioBox::SetSize changes that made it resizeable because it just doesn't
work (see notes in radiobox.cpp); fixed wxTextCtrl enter processing bug; fixed
Dialog Editor wxRadioBox-writing bug


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-08 00:15:40 +00:00
Julian Smart
306dfc2b3d Removed small OGL glitches; added new sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 23:56:40 +00:00
Vadim Zeitlin
dbeac4bd72 made wxProcess-related code compile again (it doesn't work correctly yet,
will be fixed a bit later)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 23:45:17 +00:00
Vadim Zeitlin
18fd783ca8 replaced "#include <wx/process.h>" by "class wxProcess;" - I don't like
recompile the files just for the pleasure of it...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 21:45:15 +00:00
Vadim Zeitlin
5336ece42c wxProcess() fixes: will really call parent's event handler and will pass the
exited process status now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 21:26:54 +00:00
Guilhem Lavaux
07b7327093 * A few updates (stream doc)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 21:12:41 +00:00
Julian Smart
89c684ef82 Added wxGenericValidator & doc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 17:11:44 +00:00
Vadim Zeitlin
af615124b6 menu help texts added (it now works in wxGTK too, great!)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 16:59:17 +00:00
Vadim Zeitlin
8eab4bae30 16x16 icons for the controls sample (32x32 were too ugly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 00:46:17 +00:00
Robin Dunn
d1e586e4b1 Follow up for changes in wxWindows to various event classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 00:24:53 +00:00
Vadim Zeitlin
2ec7a14ab1 icons for controls sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 00:23:44 +00:00
Vadim Zeitlin
5f699c22f5 GetData() now takes a pointer and not a reference, IsSupported() takes a
format and not a data object


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 00:14:10 +00:00
Vadim Zeitlin
b8653fbf44 removed "#ifdef wxGTK" around clipboard code and added "#if wxUSE_TOOLTIPS"
around code usign tooltips


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-07 00:05:43 +00:00
Robin Dunn
e5eaa0a060 Changing makefile.nt to makefile.vc as in rest of wxWindows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:47:03 +00:00
Vadim Zeitlin
f11f454d85 unneeded line removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:43:30 +00:00
Vadim Zeitlin
a3f4e9e81a menu title is drawn in bold font and the commands from it are ignored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:38:19 +00:00
Vadim Zeitlin
f303327872 more files to ignore in cvs commands (setup.h, lex_yy.c, y_tab.c)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:34:28 +00:00
Vadim Zeitlin
bc413685c6 restored "#include <windows.h>"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:32:34 +00:00
Vadim Zeitlin
cb1a1dc963 fixes for compilation without wxUSE_TOOLTIPS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:28:53 +00:00
Vadim Zeitlin
462e243784 resizeable dialogs support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:27:08 +00:00
Vadim Zeitlin
26f86486b0 wxGTK compatible clipboard implementation (not OLE clipboard - it will come
later)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:25:47 +00:00
Vadim Zeitlin
d79b79b5e8 wxTextFile::Eof() bug corrected (always returned FALSE before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:17:31 +00:00
Vadim Zeitlin
189a89aeb3 description of Write() return value added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 23:12:41 +00:00
Robin Dunn
e980740ac5 Follow up for changes in wxWindows to various event classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 22:55:22 +00:00
Julian Smart
631f1bfed5 Added wxMenu::UpdateUI to wxMSW, wxGTK, wxMotif, wxStubs; rearranged/debugged
docs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 13:32:46 +00:00
Julian Smart
98ffbab9d7 Altered font dialog slightly for Motif; added wxUSE_TOOLTIPS to Motif setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-06 00:46:25 +00:00
Julian Smart
e306597309 Removed lots of OnClose functions; doc'ed OnCloseWindow better;
MM_... -> wxMM_...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 23:55:04 +00:00
Robert Roebling
cd743a6f71 libjpeg not used by default (it didn't even link)
no menu's help texts disappear again
  now that is


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 19:07:42 +00:00
Vadim Zeitlin
0c47546c75 WXWIN_COMPATBILITY is now 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 17:26:19 +00:00
Vadim Zeitlin
f5d01a1cb7 compilation fixes (errors and warnings) for wxWin 2.0 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 16:44:52 +00:00
Vadim Zeitlin
fe4e9e6c14 more wxCloseEvent changes: now the behaviour should be conforming to the one
described in the docs (i.e. like Julian wants it)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 16:12:43 +00:00
Julian Smart
818e52c201 Changed GetForce -> !CanVeto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 15:06:25 +00:00
Robert Roebling
bbbbe360a8 synched Clear() and SetBackgroundColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 14:58:50 +00:00
Vadim Zeitlin
2b854a3261 wxWindow::OnClose() removed completely from wxGTK, wxCloseEvent is now
processed properly. Also, fixes for compilation without WXWIN_COMPATIBILITY
on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 14:26:48 +00:00
Vadim Zeitlin
f992adf9bc refresh added when the item text or image is changed so it's redrawn
immediately


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 14:17:56 +00:00
Robert Roebling
342b6a2fe4 Added menu_highlight behaviour as in wxMSW (statusbar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 13:25:40 +00:00
Vadim Zeitlin
341c92a8b4 1. more keyboard navigation fixes - seems to work now
2. wxPanel now remembers the last control which had focus, so it's restored
   to it when the focus returns to the panel (very handy IMHO)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 23:21:27 +00:00
Vadim Zeitlin
4adfb4e34e removed the file setup.h - copy setup0.h into setup.h and make your changes
in it now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 23:14:50 +00:00
Julian Smart
c3deb08b3b *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 22:16:48 +00:00
Julian Smart
f5e5bd6607 Further changes to make mfctest work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 22:06:15 +00:00
Julian Smart
1cb8b1ec05 Added /D_AFXDLL to mfc sample makefile.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 21:19:42 +00:00
Julian Smart
17b74d79ad Fixed compilation for when not including <windows.h>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 21:12:30 +00:00
Julian Smart
45b776d452 Corrected XPM-related cast in resource.cpp; added generic Blitting code in wxPostScriptDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 20:28:50 +00:00
Vadim Zeitlin
2a6f6231ce wxSplitPath() handles correctly filenames with '.' but without extension
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 19:35:32 +00:00
Robin Dunn
5f83a4540d Added wxColour::wxColour(unsigned long)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 19:03:55 +00:00
Vadim Zeitlin
566b84d2ad some compilation "enhancements"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 17:39:04 +00:00
Unknown (UG)
dbac6cad78 commented out wxCrtSetDbgFlag for WXUSINGDLL=1 (ie building apps using dll linkage)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 16:46:24 +00:00
Unknown (UG)
9ef4a31e64 #ifdef wxUSE_LIBJPEG changed to #if wxUSELIBJPEG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 16:28:06 +00:00
Robert Roebling
ea6f44b5ec postscript Blit()
DC::GetSize() bug corrected


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 16:12:32 +00:00
Vadim Zeitlin
c606a9a401 conversions from int/long to wxString won't compile any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 16:06:01 +00:00
Vadim Zeitlin
a532afbbab wxGTK compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 16:01:30 +00:00
Vadim Zeitlin
a9aedce135 compilation fix due to wxString(int) addition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 16:00:50 +00:00
Julian Smart
acbd13a365 Some warnings removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 11:14:41 +00:00
Václav Slavík
0a9f252212 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 10:58:33 +00:00
Václav Slavík
3b8d35f0fc wxJPEGHandler non-default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 10:57:40 +00:00
Robert Roebling
6e13c1965f Faster imagescale code
Blit() rewritten


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-04 06:51:39 +00:00
Vadim Zeitlin
cf45d1f4b3 another compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 22:58:21 +00:00
Vadim Zeitlin
858f7d6641 _MSC_VER change fixes - now compiles again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 22:50:06 +00:00
Vadim Zeitlin
ec4768ef9a Before/After => BeforeFirst/AfterFirst (corrects some minor bugs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 19:11:02 +00:00
Vadim Zeitlin
dbc208e945 reset m_sashPosition to 0 after calling OnUnsplit(), not before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 19:10:04 +00:00
Vadim Zeitlin
3f4a0c5be3 _MSC_VER => __VISUALC__ change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 16:48:12 +00:00
Vadim Zeitlin
b7f4714a25 compilation problem fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 16:44:10 +00:00
Robert Roebling
2748d25157 Trying to repair what CVS can do to source code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 14:28:55 +00:00
Václav Slavík
2fff5f0811 added JPEG support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 13:43:04 +00:00
Julian Smart
4dba84be23 Cured some Latex problems; fixed i declaration; fixed filedlg.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 10:01:34 +00:00
Harco de Hilster
eefe541967 removed gtk_text references
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 00:34:00 +00:00
Harco de Hilster
8fb6fe448e A minimal document skeleton. See comments inside for details
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 00:27:52 +00:00
Harco de Hilster
f66205b672 Fixed incredibly stupid mistake made earlier by me that upset tex2rtf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 00:18:45 +00:00
Vadim Zeitlin
c263077e08 clicking on the messages about assert failures in VC++ brings up the source
file at the line with the assert statement (nothing changed for other compilers)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 23:30:51 +00:00
Vadim Zeitlin
5fb9fcfc01 1. Harm's patch for AppendText()
2. Kbd processing seems to work (dlg navigation keys, wxTE_PROCESS_TAB &c)
3. controls sample updated to use AppendText() and test kbd navigation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 22:23:44 +00:00
Harco de Hilster
abaa293664 included description of wxTextCtrl::AppendText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 19:20:48 +00:00
Harco de Hilster
13c21be5eb added wxTextCtrl::AppendText, used by TextCtrl operator <<
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 19:01:43 +00:00
Harco de Hilster
a6e2157322 added AppendText method, now used by operator <<
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 18:56:18 +00:00
Julian Smart
77a3b7800b Removed unnecessary (and buggy) additions. Sorry Guilhem!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 18:37:25 +00:00
Vadim Zeitlin
6ef3d3d80a allow 8bit chars in the group names in wxFileConfig
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 13:35:51 +00:00
Julian Smart
1f11220943 Consistent naming of e.g. wxUSE_CTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 12:37:14 +00:00
Vadim Zeitlin
0e1399b392 compilation warning removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-02 12:07:25 +00:00
Guilhem Lavaux
f2fc7f71ce * Someone destroy a part of my previous work. Redocumenting ...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 18:09:27 +00:00
Unknown (UG)
2d9cdc4b69 updated so that the dll will compile successfully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 16:51:39 +00:00
Stefan Csomor
2276c29594 latest CW additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 15:43:00 +00:00
Robert Roebling
291a8f20b3 Removed some trash from that came through tha cables
Fixed Blit probs
  Fixed file dlg probs
  Fixed TextCtrl probs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 15:39:46 +00:00
Stefan Csomor
a62489828e latest CW additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 15:25:15 +00:00
Stefan Csomor
38ba2bd2d7 latest CW additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 15:20:16 +00:00
Stefan Csomor
c17150e891 latest CW additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 15:06:39 +00:00
Stefan Csomor
169935ad4e latest CW additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 15:00:12 +00:00
Vadim Zeitlin
95bbd57c9b file I forgot to commit with other "filedlg.h"s
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 14:42:35 +00:00
Vadim Zeitlin
ff8bfdbbb1 wxToolTip modifications: wxUSE_TOOLTIPS setting (default: on) added and
the interface changed slightly to be even more consistent with wxMSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 14:40:53 +00:00
Robert Roebling
301cd871a2 wxToolTip
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 06:44:35 +00:00
Robin Dunn
f4f55a0146 Added the missing EVT_LIST_ITEM_SELECTED and friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 00:17:53 +00:00
Robin Dunn
73c5ed3696 Added the missing EVT_LIST_ITEM_SELECTED and friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 00:11:43 +00:00
Vadim Zeitlin
9bd6a5037a this should be the file with the standard setting for wxWin compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 00:10:05 +00:00
Vadim Zeitlin
9f3362c440 more wxToolTip changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 00:05:03 +00:00
Vadim Zeitlin
cd4718483a some kbd handling fixes (some problems still persist)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-01 00:03:42 +00:00
Vadim Zeitlin
d311155fa2 unused message removed from event table
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:54:53 +00:00
Vadim Zeitlin
4fa688d8bc "selection changed" events are not generated any more when notebook
changes size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:53:21 +00:00
Vadim Zeitlin
fff86b2918 wxControl::MSWNotify() handler calls wxWindow version if it doesn't
process the message (some messages were "missing" before due to this bug)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:52:39 +00:00
Vadim Zeitlin
fb99aca7f3 bug with Shift-TAB handling corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:50:58 +00:00
Vadim Zeitlin
396bdd5ab1 very minor changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:49:57 +00:00
Vadim Zeitlin
3a19e16d18 wxToolTip for MSW implementation (it has several problems right now, but it
still works)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:38:10 +00:00
Vadim Zeitlin
6e0d9d4331 memory debugging using VC++ debug CRT works for DLL wxWin builds as well.
The relevant macros are now in include/wx/msw/msvcrt.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:32:58 +00:00
Vadim Zeitlin
06b5713445 wxStaticBitmap, wxStaticBox and wxPanel don't accept keyboard focus now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:30:33 +00:00
Vadim Zeitlin
aeafc35493 by default the ctrl accepts keyboard input now (why wouldn't it?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:28:58 +00:00
Harco de Hilster
f855e630cc internal browser creates temp file in current dir, safer if /tmp doesn't
exist


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 22:26:35 +00:00
Harco de Hilster
18b7950189 The obligatory Slashdot headlines retriever. Every self-respecting modern
widget library has to have one... I think it also makes a nice demonstration
of wxPython's capabilities.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 19:55:22 +00:00
Karsten Ballüder
cfad3750c3 Added (untested) support for sub-locales.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 19:38:40 +00:00
Julian Smart
8870c26ecb Added a few files; fixed some warnings and wxMotif compile problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 18:47:10 +00:00
Guilhem Lavaux
e2cad35228 * Some more on streams.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 16:56:04 +00:00
Julian Smart
0a240683ed Various small fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 13:58:17 +00:00
Julian Smart
03ab016d66 Some corrections for BC++ compilation; Latex doc corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 11:42:58 +00:00
Harco de Hilster
ac0d36b523 Loads of updates/fixes. Everything is now zero-based (positions, columns,
line numbers, insertion points, the whole business). SetInsertionPoint now
works, sort of. It doesn't move the actual cursor, but WriteText will
insert at the newly set insertion point (after which the cursor is moved
anyway). This should be good enough for most uses. See further comments
in the source. BTW, WriteText now inserts text at the current point (used
to append to the end only).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 04:15:31 +00:00
Harco de Hilster
71777e2c27 Some updates to clarify definitions and behaviour of lines, columns,
positions etc. Also some general stuff added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 04:11:10 +00:00
Robert Roebling
5aa5e35ade My last patch for status bar size events wasn't perfect
Added wxPython to the wxGTK dist script
  docs for wxPrivateDataObject
  Corrected penguin makefile


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-30 22:54:23 +00:00
Julian Smart
f9b1708cf5 Made wxLayoutAlgorithm more general (copes with nested sash windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-30 21:37:17 +00:00
Robert Roebling
884470b12e Added size event for status bar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-30 16:43:47 +00:00
Robert Roebling
ab272c0bf8 docs for wxTextDataObjet and wxBitmapDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-30 15:58:31 +00:00
1874 changed files with 253072 additions and 77741 deletions

View File

@@ -9,3 +9,15 @@ linux.system.cache
wx-config
config.log
linux-gnu.system.cache
*.dsp
*.dsw
*.plg
*.opt
*.aps
*.ncb
*.pro
*.opt
Release
Debug
ReleaseDLL
DebugDLL

3401
configure vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

310
distrib/gtk/README.txt Normal file
View File

@@ -0,0 +1,310 @@
wxPython README
---------------
Introduction
------------
The code in this subtree is a Python Extension Module that enables the
use of wxWindows from the Python language. So what is Python? Go to
http://www.python.org to learn more but in a nutshell, it's an
extremly cool object oriented language. It's easier than Perl and
nearly as powerful. It runs on more platforms than Java, and by some
reports, is even faster than Java with a JIT compiler!
So why would you want to use wxPython over just C++ and wxWindows?
Personally I prefer using Python for everything. I only use C++ when
I absolutly have to eek more performance out of an algorithm, and even
then I ususally code it as an extension module and leave the majority
of the program in Python. Another good thing to use wxPython for is
quick prototyping of your wxWindows apps. With C++ you have to
continuously go though the edit-compile-link-run cycle, which can be
quite time comsuming. With Python it is only an edit-run cycle. You
can easily build an application in a few hours with Python that would
normally take a few days with C++. Converting a wxPython app to a
C++/wxWindows app should be a straight forward task.
This extension module attempts to mirror the class heiarchy of
wxWindows as closely as possble. This means that there is a wxFrame
class in wxPython that looks, smells, tastes and acts almost the same
as the wxFrame class in the C++ version. Unfortunatly, I wasn't able
to match things exactly because of differences in the languages, but
the differences should be easy to absorb because they are natural to
Python. For example, some methods that return mutliple values via
argument pointers in C++ will return a tuple of values in Python.
These differences have not been documented yet so if something isn't
working the same as described in the wxWindows documents the best
thing to do is to scan through the wxPython sources, especially the .i
files, as that is where the interfaces for wxPython are defined.
I have reports of successfully embedding wxPython within a wxWindows
C++ app on GTK. It hasn't yet been attempted on MSW (to my knowledge)
so I don't know how successful such an attempt would be. However it
is certainly possible.
Getting Help
------------
Since wxPython is a blending of multiple technologies, help comes from
multiple sources. See the http://alldunn.com/wxPython for details on
various sources of help, but probably the best source is the
wxPython-users mail list. You can view the archive or subscribe by
going to
http://starship.python.net/mailman/listinfo/wxpython-users
Or you can send mail directly to the list using this address:
wxpython-users@starship.python.net
What's new in 2.0b9
-------------------
Bug fix for ListCtrl in test4.py (Was a missing file... DSM!)
Bug fix for occassional GPF on Win32 systems upon termination of a
wxPython application.
Added wxListBox.GetSelections returning selections as a Tuple.
Added a wxTreeItemData that is able to hold any Python object and be
associated with items in a wxTreeCtrl. Added test pytree.py to show
this feature off.
Added wxSafeYield function.
OpenGL Canvas can be optionally compiled in to wxPython.
Awesome new Demo Framework for showing off wxPython and for learning
how it all works.
The pre-built Win32 version is no longer distributing the wxWindows
DLL. It is statically linked with the wxWindows library instead.
Added a couple missing items from the docs.
Added wxImage, wxImageHandler, wxPNGHandler, wxJPEGHandler,
wxGIFHandler and wxBMPHandler.
Added new methods to wxTextCtrl.
What's new in 2.0b8
-------------------
Support for using Python threads in wxPython apps.
Several missing methods from various classes.
Various bug fixes.
What's new in 2.0b7
-------------------
Added DLG_PNT and DLG_SZE convienience methods to wxWindow class.
Added missing constructor and other methods for wxMenuItem.
What's new in 2.0b6
-------------------
Just a quickie update to fix the self-installer to be compatible with
Python 1.5.2b2's Registry settings.
What's new in 2.0b5
-------------------
Well obviously the numbering scheme has changed. I did this to
reflect the fact that this truly is the second major revision of
wxPython, (well the third actually if you count the one I did for
wxWindows 1.68 and then threw away...) and also that it is associated
with the 2.0 version of wxWindows.
I have finally started documenting wxPython. There are several pages
in the wxWindows documentation tree specifically about wxPython, and I
have added notes within the class references about where wxPython
diverges from wxWindows.
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
window handle. If you can get the window handle into the python code,
it should just work... More news on this later.
Added wxImageList, wxToolTip.
Re-enabled wxConfig.DeleteAll() since it is reportedly fixed for the
wxRegConfig class.
As usual, some bug fixes, tweaks, etc.
What's new in 0.5.3
-------------------
Added wxSashWindow, wxSashEvent, wxLayoutAlgorithm, etc.
Various cleanup, tweaks, minor additions, etc. to maintain
compatibility with the current wxWindows.
What's new in 0.5.0
-------------------
Changed the import semantics from "from wxPython import *" to "from
wxPython.wx import *" This is for people who are worried about
namespace pollution, they can use "from wxPython import wx" and then
prefix all the wxPython identifiers with "wx."
Added wxTaskbarIcon for wxMSW.
Made the events work for wxGrid.
Added wxConfig.
Added wxMiniFrame for wxGTK.
Changed many of the args and return values that were pointers to gdi
objects to references to reflect changes in the wxWindows API.
Other assorted fixes and additions.
What's new in 0.4.2
-------------------
wxPython on wxGTK works!!! Both dynamic and static on Linux and
static on Solaris have been tested. Many thanks go to Harm
<H.v.d.Heijden@phys.tue.nl> for his astute detective work on tracking
down a nasty DECREF bug. Okay so I have to confess that it was just a
DSM (Dumb Stupid Mistake) on my part but it was nasty none the less
because the behavior was so different on different platforms.
The dynamicly loaded module on Solaris is still segfaulting, so it
must have been a different issue all along...
What's New in 0.4
-----------------
1. Worked on wxGTK compatibility. It is partially working. On a
Solaris/Sparc box wxPython is working but only when it is statically
linked with the Python interpreter. When built as a dyamically loaded
extension module, things start acting weirdly and it soon seg-faults.
And on Linux both the statically linked and the dynamically linked
version segfault shortly after starting up.
2. Added Toolbar, StatusBar and SplitterWindow classes.
3. Varioius bug fixes, enhancements, etc.
Build Instructions
------------------
I used SWIG (http://www.swig.org) to create the source code for the
extension module. This enabled me to only have to deal with a small
amount of code and only have to bother with the exceptional issues.
SWIG takes care of the rest and generates all the repetative code for
me. You don't need SWIG to build the extension module as all the
generated C++ code is included under the src directory.
I added a few minor features to SWIG to control some of the code
generation. If you want to playaround with this the patches are in
wxPython/SWIG.patches and they should be applied to the 1.1p5 version
of SWIG. These new patches are documented at
http://starship.skyport.net/crew/robind/python/#swig, and they should
also end up in the 1.2 version of SWIG.
wxPython is organized as a Python package. This means that the
directory containing the results of the build process should be a
subdirectory of a directory on the PYTHONPATH. (And preferably should
be named wxPython.) You can control where the build process will dump
wxPython by setting the TARGETDIR makefile variable. The default is
$(WXWIN)/utils/wxPython, where this README.txt is located. If you
leave it here then you should add $(WXWIN)/utils to your PYTHONPATH.
However, you may prefer to use something that is already on your
PYTHONPATH, such as the site-packages directory on Unix systems.
Win32
-----
1. Build wxWindows with wxUSE_RESOURCE_LOADING_IN_MSW set to 1 in
include/wx/msw/setup.h so icons can be loaded dynamically. While
there, make sure wxUSE_OWNER_DRAWN is also set to 1.
2. Change into the $(WXWIN)/utils/wxPython/src directory.
3. Edit makefile.vc and specify where your python installation is at.
You may also want to fiddle with the TARGETDIR variable as described
above.
4. Run nmake -f makefile.vc
5. If it builds successfully, congratulations! Move on to the next
step. If not then you can try mailing me for help. Also, I will
always have a pre-built win32 version of this extension module at
http://starship.skyport.net/crew/robind/python.
6. Change to the $(WXWIN)/utils/wxPython/tests directory.
7. Try executing the test programs. Note that some of these print
diagnositc or test info to standard output, so they will require the
console version of python. For example:
python test1.py
To run them without requiring a console, you can use the pythonw.exe
version of Python either from the command line or from a shortcut.
Unix
----
1. Change into the $(WXWIN)/utils/wxPython/src directory.
2. Edit Setup.in and ensure that the flags, directories, and toolkit
options are correct. See the above commentary about TARGETDIR. There
are a few sample Setup.in.[platform] files provided.
[I've written a Setup which should work in almost all Unix systems,
so that the steps 1 and 2 don't have to be done. Robert Roebling. ]
3. Run this command to generate a makefile:
make -f Makefile.pre.in boot
4. Run these commands to build and then install the wxPython extension
module:
make
4b. Log in as root. [Robert Roebling]
make install
4c. Log out from root. [Robert Roebling]
5. Change to the $(WXWIN)/utils/wxPython/tests directory.
6. Try executing the test programs. For example:
python test1.py
------------------------
10/20/1998
Robin Dunn
robin@alldunn.com

47
distrib/gtk/Setup Normal file
View File

@@ -0,0 +1,47 @@
# This file gives the details of what is needed to build this extension
# module so the Makefile can be created.
###
### This file should be created by configure. Currently it is tweaked by hand.
###
*shared*
CCC=g++
WXWIN=~/wxWindows
GENCODEDIR=gtk
srcdir=$(GENCODEDIR)
WX_CONFIG_CFLAGS=`wx-config --cflags` `gtk-config --cflags`
WX_CONFIG_LIBS=`wx-config --libs`
# Depending on how your Python was built, you may have to set this
# value to use the C++ driver to link with instead of the default
# C driver. For example:
MY_LDSHARED=$(CCC) -shared $(WX_CONFIG_LIBS)
# Same as above, but for statically linking Python and wxPython together,
# in other words, if you comment out the *shared* above. If this is the
# case then you should ensure that the main() function is Python's, not
# wxWindows'. You can rebuild $(WXWIN)/src/gtk/app.cpp with NOMAIN defined
# to force this...
MY_LINKCC=$(CCC)
## Pick one of these, or set your own. This is where the
## wxPython module should be installed. It should be a
## subdirectory named wxPython.
#TARGETDIR=..
#TARGETDIR=$(BINLIBDEST)/site-packages/wxPython
TARGETDIR=$(BINLIBDEST)/wxPython
wxc wx.cpp helpers.cpp windows.cpp events.cpp misc.cpp gdi.cpp \
mdi.cpp controls.cpp controls2.cpp windows2.cpp cmndlgs.cpp \
frames.cpp stattool.cpp windows3.cpp image.cpp \
utils.cpp \
## comment out the next line to disable wxGLCanvas
##_glcanvas.cpp glcanvas.cpp -DWITH_GLCANVAS -lGL -lGLU \
-I. $(WX_CONFIG_CFLAGS) -I/usr/local/lib/glib/include \
-DSWIG_GLOBAL -DWXP_WITH_THREAD $(SEPARATE) -Xlinker $(WX_CONFIG_LIBS)

View File

@@ -3,7 +3,10 @@
# This script is creates a dir tree in ~/wxgtk_dist which
# can then be packed into an archive
echo This script will copy the wxGTK release files into ~/wxgtk_dist
echo --------
echo This script will copy the wxGTK release files into ~/wxgtk_dist
echo --------
echo
mkdir ~/wxgtk_dist
mkdir ~/wxgtk_dist/wxGTK
@@ -51,6 +54,11 @@ cd generic
cp *.h ~/wxgtk_dist/wxGTK/include/wx/generic
cd ..
mkdir ~/wxgtk_dist/wxGTK/include/wx/unix
cd unix
cp *.h ~/wxgtk_dist/wxGTK/include/wx/unix
cd ..
mkdir ~/wxgtk_dist/wxGTK/include/wx/gtk
cd gtk
cp *.h ~/wxgtk_dist/wxGTK/include/wx/gtk
@@ -149,6 +157,11 @@ cp *.inc ~/wxgtk_dist/wxGTK/src/gtk
cp *.cpp ~/wxgtk_dist/wxGTK/src/gtk
cd ..
cd unix
mkdir ~/wxgtk_dist/wxGTK/src/unix
cp *.cpp ~/wxgtk_dist/wxGTK/src/unix
cd ..
cd generic
mkdir ~/wxgtk_dist/wxGTK/src/generic
cp *.cpp ~/wxgtk_dist/wxGTK/src/generic
@@ -169,6 +182,11 @@ mkdir ~/wxgtk_dist/wxGTK/src/png
cp * ~/wxgtk_dist/wxGTK/src/png
cd ..
cd jpeg
mkdir ~/wxgtk_dist/wxGTK/src/jpeg
cp * ~/wxgtk_dist/wxGTK/src/jpeg
cd ..
cd ..
echo Utils dir..
@@ -177,6 +195,8 @@ cd utils
mkdir ~/wxgtk_dist/wxGTK/utils
cp Makefile ~/wxgtk_dist/wxGTK/utils
echo wxGLCanvas..
cd glcanvas
mkdir ~/wxgtk_dist/wxGTK/utils/glcanvas
cp ./docs/notes.txt ~/wxgtk_dist/wxGTK/utils/glcanvas/NOTES.txt
@@ -187,6 +207,7 @@ cp ./gtk/glcanvas.h ~/wxgtk_dist/wxGTK/utils/glcanvas/gtk
mkdir ~/wxgtk_dist/wxGTK/utils/glcanvas/samples
mkdir ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/cube
mkdir ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/isosurf
mkdir ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/penguin
cd samples/cube
@@ -195,6 +216,13 @@ cp cube.h ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/cube
cp cube.cpp ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/cube
cd ..
cd isosurf
cp Makefile ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/isosurf
cp isosurf.h ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/isosurf
cp isosurf.cpp ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/isosurf
cp isosurf.dat.gz ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/isosurf
cd ..
cd penguin
cp Makefile ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/penguin
cp penguin.h ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/penguin
@@ -206,6 +234,8 @@ cp lw.cpp ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/penguin
cp penguin.lwo ~/wxgtk_dist/wxGTK/utils/glcanvas/samples/penguin
cd ../../..
echo DialogEd..
cd dialoged/src
mkdir ~/wxgtk_dist/wxGTK/utils/dialoged
cp Makefile ~/wxgtk_dist/wxGTK/utils/dialoged
@@ -230,7 +260,53 @@ cp winstyle.h ~/wxgtk_dist/wxGTK/utils/dialoged
cd bitmaps
mkdir ~/wxgtk_dist/wxGTK/utils/dialoged/bitmaps
cp *.xpm ~/wxgtk_dist/wxGTK/utils/dialoged/bitmaps
cd ../../../..
cd ../../..
echo wxPython..
cd wxPython
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython
cp README.txt ~/wxgtk_dist/wxGTK/utils/wxPython
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/src
cp ./src/* ~/wxgtk_dist/wxGTK/utils/wxPython/src
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/src/gtk
cp ./src/gtk/* ~/wxgtk_dist/wxGTK/utils/wxPython/src/gtk
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/lib
cp ./lib/*.py ~/wxgtk_dist/wxGTK/utils/wxPython/lib
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/tests
cp ./tests/README.txt ~/wxgtk_dist/wxGTK/utils/wxPython/tests
cp ./tests/*.py ~/wxgtk_dist/wxGTK/utils/wxPython/tests
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/demo
cp ./demo/README.txt ~/wxgtk_dist/wxGTK/utils/wxPython/demo
cp ./demo/*.py ~/wxgtk_dist/wxGTK/utils/wxPython/demo
cp ./demo/*.pyc ~/wxgtk_dist/wxGTK/utils/wxPython/demo
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/demo/bitmaps
cp ./demo/bitmaps/* ~/wxgtk_dist/wxGTK/utils/wxPython/demo/bitmaps
mkdir ~/wxgtk_dist/wxGTK/utils/wxPython/tests/bitmaps
cp ./tests/bitmaps/* ~/wxgtk_dist/wxGTK/utils/wxPython/tests/bitmaps
cd ..
echo wxOLE..
cd wxOLE
mkdir ~/wxgtk_dist/wxGTK/utils/wxOLE
mkdir ~/wxgtk_dist/wxGTK/utils/wxOLE/gtk
cp ./gtk/wxole.* ~/wxgtk_dist/wxGTK/utils/wxOLE/gtk
mkdir ~/wxgtk_dist/wxGTK/utils/wxOLE/samples
mkdir ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
cp ./samples/servlet/Makefile ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
cp ./samples/servlet/*.xpm ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
cp ./samples/servlet/*.cpp ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
cp ./samples/servlet/*.gnorba ~/wxgtk_dist/wxGTK/utils/wxOLE/samples/servlet
cd ../..
echo Samples dir..
@@ -364,6 +440,16 @@ cp *.cpp ~/wxgtk_dist/wxGTK/samples/dynamic
cp *.xpm ~/wxgtk_dist/wxGTK/samples/dynamic
cd ..
echo Drawing sample..
cd drawing
mkdir ~/wxgtk_dist/wxGTK/samples/drawing
cp Makefile ~/wxgtk_dist/wxGTK/samples/drawing
cp Makefile.in ~/wxgtk_dist/wxGTK/samples/drawing
cp *.cpp ~/wxgtk_dist/wxGTK/samples/drawing
cp *.xpm ~/wxgtk_dist/wxGTK/samples/drawing
cd ..
echo Forty sample..
cd forty
@@ -415,6 +501,8 @@ cp Makefile ~/wxgtk_dist/wxGTK/samples/image
cp Makefile.in ~/wxgtk_dist/wxGTK/samples/image
cp *.cpp ~/wxgtk_dist/wxGTK/samples/image
cp horse.png ~/wxgtk_dist/wxGTK/samples/image
cp horse.gif ~/wxgtk_dist/wxGTK/samples/image
cp horse.jpg ~/wxgtk_dist/wxGTK/samples/image
cd ..
echo Internat sample..
@@ -557,6 +645,16 @@ cp *.cpp ~/wxgtk_dist/wxGTK/samples/sashtest
cp *.h ~/wxgtk_dist/wxGTK/samples/sashtest
cd ..
echo Scroll sample..
cd sashtest
mkdir ~/wxgtk_dist/wxGTK/samples/scroll
cp Makefile ~/wxgtk_dist/wxGTK/samples/scroll
cp Makefile.in ~/wxgtk_dist/wxGTK/samples/scroll
cp *.cpp ~/wxgtk_dist/wxGTK/samples/scroll
cp *.h ~/wxgtk_dist/wxGTK/samples/scroll
cd ..
echo Splitter sample..
cd splitter
@@ -654,9 +752,13 @@ cp Makefile ~/wxgtk_dist/wxGTK/samples/wxsocket
cp Makefile.in ~/wxgtk_dist/wxGTK/samples/wxsocket
cp *.cpp ~/wxgtk_dist/wxGTK/samples/wxsocket
cp *.xpm ~/wxgtk_dist/wxGTK/samples/wxsocket
cd ..
cd ../..
echo LOCAL CORRECTCIONS
cd distrib/gtk
cp README.txt ~/wxgtk_dist/wxGTK/utils/wxPython
cp Setup ~/wxgtk_dist/wxGTK/utils/wxPython/src

3
distrib/msw/bc.rsp Normal file
View File

@@ -0,0 +1,3 @@
src/bc32.ide
src/bc32d.ide
samples/bc32.ide

View File

@@ -1,5 +1,10 @@
distrib/msw/*.rsp
distrib/msw/*.bat
distrib/msw/tardist
distrib/gtk/*
locale/*.po
locale/*.mo
docs/readme.txt
docs/install.txt
@@ -31,6 +36,8 @@ src/generic/*.cpp
src/generic/*.c
src/generic/*.inc
src/unix/*.cpp
src/png/*.c
src/png/*.h
src/png/makefile*
@@ -61,6 +68,7 @@ include/wx/protocol/*.h
include/wx/wx_setup.vms
include/wx/common/*.h
include/wx/generic/*.h
include/wx/unix/*.h
lib/dummy
bin/*.*
@@ -203,6 +211,12 @@ samples/wxsocket/client.wat
samples/wxsocket/server.wat
samples/wxsocket/client.vc
samples/wxsocket/server.vc
samples/wxsocket/client.dos
samples/wxsocket/server.dos
samples/wxsocket/client.b32
samples/wxsocket/server.b32
samples/wxsocket/client.bcc
samples/wxsocket/server.bcc
samples/wxsocket/*.xbm
samples/wxsocket/*.xpm
samples/wxsocket/*.ico
@@ -335,6 +349,7 @@ samples/proplist/makefile*
samples/proplist/*.xbm
samples/proplist/*.xpm
samples/proplist/*.ico
samples/proplist/*.bmp
samples/proplist/*.rc
samples/layout/*.cpp
@@ -640,6 +655,18 @@ samples/thread/*.png
samples/thread/*.ico
samples/thread/*.txt
samples/forty/*.cpp
samples/forty/*.h
samples/forty/makefile*
samples/forty/*.rc
samples/forty/*.def
samples/forty/*.bmp
samples/forty/*.xpm
samples/forty/*.xbm
samples/forty/*.png
samples/forty/*.ico
samples/forty/*.txt
samples/dde/*.cpp
samples/dde/*.h
samples/dde/makefile*
@@ -647,6 +674,12 @@ samples/dde/client.vc
samples/dde/server.vc
samples/dde/client.wat
samples/dde/server.wat
samples/dde/client.b32
samples/dde/server.b32
samples/dde/client.bcc
samples/dde/server.bcc
samples/dde/client.dos
samples/dde/server.dos
samples/dde/*.rc
samples/dde/*.def
samples/dde/*.bmp
@@ -656,3 +689,39 @@ samples/dde/*.png
samples/dde/*.ico
samples/dde/*.txt
samples/scroll/*.cpp
samples/scroll/*.h
samples/scroll/makefile*
samples/scroll/*.rc
samples/scroll/*.def
samples/scroll/*.bmp
samples/scroll/*.xpm
samples/scroll/*.xbm
samples/scroll/*.png
samples/scroll/*.ico
samples/scroll/*.txt
samples/caret/*.cpp
samples/caret/*.h
samples/caret/makefile*
samples/caret/*.rc
samples/caret/*.def
samples/caret/*.bmp
samples/caret/*.xpm
samples/caret/*.xbm
samples/caret/*.png
samples/caret/*.ico
samples/caret/*.txt
samples/drawing/*.cpp
samples/drawing/*.h
samples/drawing/makefile*
samples/drawing/*.rc
samples/drawing/*.def
samples/drawing/*.bmp
samples/drawing/*.xpm
samples/drawing/*.xbm
samples/drawing/*.png
samples/drawing/*.ico
samples/drawing/*.txt

View File

@@ -2,19 +2,22 @@ utils/glcanvas/docs/*.*
utils/glcanvas/win/*.cpp
utils/glcanvas/win/*.h
utils/glcanvas/win/make*.*
utils/glcanvas/src/*.cpp
utils/glcanvas/src/*.h
utils/glcanvas/src/make*.*
utils/glcanvas/gtk/*.cpp
utils/glcanvas/gtk/*.h
utils/glcanvas/gtk/make*.*
utils/glcanvas/gtk/Makefile
utils/glcanvas/motif/*.cpp
utils/glcanvas/motif/*.h
utils/glcanvas/motif/make*.*
utils/glcanvas/motif/*.txt
utils/glcanvas/motif/Makefile
utils/glcanvas/samples/cube/*.cpp
utils/glcanvas/samples/cube/*.h
utils/glcanvas/samples/cube/*.rc
utils/glcanvas/samples/cube/*.ico
utils/glcanvas/samples/cube/*.xbm
utils/glcanvas/samples/cube/make*.*
utils/glcanvas/samples/cube/Makefile
utils/glcanvas/samples/isosurf/*.cpp
utils/glcanvas/samples/isosurf/*.h
@@ -23,6 +26,7 @@ utils/glcanvas/samples/isosurf/*.ico
utils/glcanvas/samples/isosurf/*.xbm
utils/glcanvas/samples/isosurf/*.dat.gz
utils/glcanvas/samples/isosurf/make*.*
utils/glcanvas/samples/isosurf/Makefile
utils/glcanvas/samples/penguin/*.cpp
utils/glcanvas/samples/penguin/*.c
@@ -32,6 +36,7 @@ utils/glcanvas/samples/penguin/*.ico
utils/glcanvas/samples/penguin/*.xbm
utils/glcanvas/samples/penguin/*.xpm
utils/glcanvas/samples/penguin/make*.*
utils/glcanvas/samples/penguin/Makefile
utils/glcanvas/samples/penguin/penguin.lwo

View File

@@ -7,16 +7,23 @@ config.guess
config.sub
wx-config.in
mkinstalldirs
wxGTK.spec
distrib/gtk/copy_src
distrib/gtk/README.txt
distrib/gtk/Setup
docs/gtk/*.html
docs/gtk/*.txt
docs/gtk/makewxgtk
include/wx/gtk/*.h
include/install-sh
include/wx/install-sh
src/Makefile
src/Makefile.in
src/*.inc
src/gtk.inc
src/make.env
src/makelib.env
src/makeprog.env

91
distrib/msw/makefile.rsp Normal file
View File

@@ -0,0 +1,91 @@
samples/bombs/Makefile.in
samples/bombs/Makefile
samples/checklst/Makefile.in
samples/checklst/Makefile
samples/config/Makefile.in
samples/config/Makefile
samples/controls/Makefile.in
samples/controls/Makefile
samples/db/Makefile.in
samples/db/Makefile
samples/dde/Makefile.in
samples/dde/Makefile
samples/dialogs/Makefile.in
samples/dialogs/Makefile
samples/dnd/Makefile.in
samples/dnd/Makefile
samples/docview/Makefile.in
samples/docview/Makefile
samples/docvwmdi/Makefile.in
samples/docvwmdi/Makefile
samples/dynamic/Makefile.in
samples/dynamic/Makefile
samples/forty/Makefile.in
samples/forty/Makefile
samples/fractal/Makefile.in
samples/fractal/Makefile
samples/grid/Makefile.in
samples/grid/Makefile
samples/help/Makefile.in
samples/help/Makefile
samples/image/Makefile.in
samples/image/Makefile
samples/internat/Makefile.in
samples/internat/Makefile
samples/layout/Makefile.in
samples/layout/Makefile
samples/listctrl/Makefile.in
samples/listctrl/Makefile
samples/mdi/Makefile.in
samples/mdi/Makefile
samples/memcheck/Makefile.in
samples/memcheck/Makefile
samples/minifram/Makefile.in
samples/minifram/Makefile
samples/minimal/Makefile.in
samples/minimal/Makefile
samples/notebook/Makefile.in
samples/notebook/Makefile
samples/png/Makefile.in
samples/png/Makefile
samples/printing/Makefile.in
samples/printing/Makefile
samples/proplist/Makefile.in
samples/proplist/Makefile
samples/resource/Makefile.in
samples/resource/Makefile
samples/sashtest/Makefile.in
samples/sashtest/Makefile
samples/splitter/Makefile.in
samples/splitter/Makefile
samples/tab/Makefile.in
samples/tab/Makefile
samples/thread/Makefile.in
samples/thread/Makefile
samples/toolbar/Makefile.in
samples/toolbar/Makefile
samples/treectrl/Makefile.in
samples/treectrl/Makefile
samples/typetest/Makefile.in
samples/typetest/Makefile
samples/validate/Makefile.in
samples/validate/Makefile
samples/wxpoem/Makefile.in
samples/wxpoem/Makefile
samples/wxsocket/Makefile.in
samples/wxsocket/Makefile
samples/scroll/Makefile.in
samples/scroll/Makefile
samples/caret/Makefile.in
samples/caret/Makefile
samples/drawing/Makefile.in
samples/drawing/Makefile
src/Makefile.in
src/Makefile
utils/ogl/samples/ogledit/Makefile.in
utils/ogl/samples/ogledit/Makefile
utils/ogl/samples/studio/Makefile.in
utils/ogl/samples/studio/Makefile
utils/ogl/src/Makefile.in
utils/ogl/src/Makefile

View File

@@ -16,7 +16,7 @@ src/makelib.env
src/Makefile
src/Makefile.in
src/*.inc
src/motif.inc
src/motif/*.cpp
src/motif/*.c
@@ -44,9 +44,10 @@ src/iodbc/postgres/*.h
include/wx/motif/*.h
include/install-sh
include/wx/install-sh
docs/motif/*.txt
docs/motif/makewx
docs/motif/makewxmotif
lib/dummy

View File

@@ -9,21 +9,31 @@ tools/gettext/msgfmt.exe
tools/gettext/msgunfmt.exe
src/makeb32.env
src/makeprog.b32
src/makelib.b32
src/makebcc.env
src/makeprog.bcc
src/makelib.bcc
src/makemsc.env
src/makeprog.msc
src/makelib.msc
src/makewat.env
src/makeprog.wat
src/makelib.wat
src/makesc.env
src/makevc.env
src/makeprog.vc
src/makelib.vc
src/makeg95.env
src/makeprog.g95
src/makelib.g95
src/makesl.env
src/makeprog.sl
src/makelib.sl
src/salford.lnk
src/maketwin.env
src/makeprog.twn
src/makeprog.vc
src/makelib.vc
src/makelib.twn
src/makefile.bcc
src/makefile.dos
src/makefile.vc

View File

@@ -1,10 +1,13 @@
utils/ogl/Makefile
utils/ogl/src/*.cpp
utils/ogl/src/*.h
utils/ogl/src/*.rc
utils/ogl/src/*.def
utils/ogl/src/*.xbm
utils/ogl/src/*.xpm
utils/ogl/src/makefile*
utils/ogl/src/make*.*
utils/ogl/src/Makefile
utils/ogl/src/*.txt
utils/ogl/src/*.ico
utils/ogl/src/*.bmp
@@ -14,7 +17,8 @@ utils/ogl/samples/ogledit/*.h
utils/ogl/samples/ogledit/*.rc
utils/ogl/samples/ogledit/*.def
utils/ogl/samples/ogledit/*.xbm
utils/ogl/samples/ogledit/makefile*
utils/ogl/samples/ogledit/make*.*
utils/ogl/samples/ogledit/Makefile
utils/ogl/samples/ogledit/*.txt
utils/ogl/samples/ogledit/*.ico
utils/ogl/samples/ogledit/*.bmp
@@ -24,6 +28,31 @@ utils/ogl/samples/ogledit/bitmaps/*.gif
utils/ogl/samples/ogledit/bitmaps/*.xbm
utils/ogl/samples/ogledit/bitmaps/*.xpm
utils/ogl/samples/studio/*.cpp
utils/ogl/samples/studio/*.h
utils/ogl/samples/studio/*.rc
utils/ogl/samples/studio/*.def
utils/ogl/samples/studio/*.xbm
utils/ogl/samples/studio/make*.*
utils/ogl/samples/studio/Makefile
utils/ogl/samples/studio/*.txt
utils/ogl/samples/studio/*.ico
utils/ogl/samples/studio/*.bmp
utils/ogl/samples/studio/*.xpm
utils/ogl/samples/studio/*.wxr
utils/ogl/samples/studio/bitmaps/*.bmp
utils/ogl/samples/studio/bitmaps/*.gif
utils/ogl/samples/studio/bitmaps/*.xbm
utils/ogl/samples/studio/bitmaps/*.xpm
utils/ogl/samples/studio/manual/*.tex
utils/ogl/samples/studio/manual/*.ini
utils/ogl/samples/studio/manual/*.gif
utils/ogl/samples/studio/manual/*.bmp
utils/ogl/samples/studio/manual/*.htm
utils/ogl/samples/studio/manual/*.hlp
utils/ogl/samples/studio/manual/*.cnt
utils/ogl/samples/studio/manual/Makefile
utils/ogl/distrib/*.rsp
utils/ogl/distrib/*.bat

108
distrib/msw/tardist Normal file
View File

@@ -0,0 +1,108 @@
#!/bin/sh
# tardist: make up a tar.gz distribution of wxWindows 2
# Supply a source (e.g. ~/wx2) and destination (e.g. ~/wx2/deliver)
init=""
if [ $1 = "" ]
then
exit
fi
if [ $2 = "" ]
then
exit
fi
echo About to archive wxWindows:
echo From $1
echo To $2
echo CTRL-C if this is not correct.
read dummy
cd $1
echo Removing backup files...
rm *~ */*~ */*/*~ */*/*/*~ */*/*/*/*~
rm -f $2/wx200*.tgz
rm -f $2/tex2rtf2.tgz
rm -f $2/ogl3.tgz
rm -f $2/treedraw.tar.gz
rm -f $2/glcanvas.tar.gz
rm -f $2/jpeg.tgz
echo Tarring...
### Generic
ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxgen.txt
tar cvf $2/wx200gen.tar -T /tmp/wxgen.txt
gzip $2/wx200gen.tar
mv $2/wx200gen.tar.gz $2/wx200gen.tgz
### wxGTK
ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/gtk.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxgtk.txt
tar cvf $2/wx200gtk.tar -T /tmp/wxgtk.txt
gzip $2/wx200gtk.tar
mv $2/wx200gtk.tar.gz $2/wx200gtk.tgz
### wxMotif
ls `cat $1/distrib/msw/generic.rsp $1/distrib/msw/motif.rsp $1/distrib/msw/makefile.rsp` > /tmp/wxmotif.txt
tar cvf $2/wx200mot.tar -T /tmp/wxmotif.txt
gzip $2/wx200mot.tar
mv $2/wx200mot.tar.gz $2/wx200mot.tgz
### Doc sources
ls `cat $1/distrib/msw/docsrc.rsp` > /tmp/docsrc.txt
tar cvf $2/wx200doc.tar -T /tmp/docsrc.txt
gzip $2/wx200doc.tar
mv $2/wx200doc.tar.gz $2/wx200doc.tgz
### HTML docs
ls `cat $1/distrib/msw/wx_html.rsp` > /tmp/html.txt
tar cvf $2/wx200htm.tar -T /tmp/html.txt
gzip $2/wx200htm.tar
mv $2/wx200htm.tar.gz $2/wx200htm.tgz
### PDF docs
ls `cat $1/distrib/msw/wx_pdf.rsp` > /tmp/pdf.txt
tar cvf $2/wx200pdf.tar -T /tmp/pdf.txt
gzip $2/wx200pdf.tar
mv $2/wx200pdf.tar.gz $2/wx200pdf.tgz
### Stubs files
ls `cat $1/distrib/msw/stubs.rsp` > /tmp/stubs.txt
tar cvf $2/wx200stubs.tar -T /tmp/stubs.txt
gzip $2/wx200stubs.tar
mv $2/wx200stubs.tar.gz $2/wx200stubs.tgz
### Tex2RTF
ls `cat $1/distrib/msw/tex2rtf.rsp` > /tmp/tex2rtf.txt
tar cvf $2/tex2rtf2.tar -T /tmp/tex2rtf.txt
gzip $2/tex2rtf2.tar
mv $2/tex2rtf2.tar.gz $2/tex2rtf2.tgz
### OGL
ls `cat $1/distrib/msw/ogl.rsp` > /tmp/ogl.txt
tar cvf $2/ogl3.tar -T /tmp/ogl.txt
gzip $2/ogl3.tar
mv $2/ogl3.tar.gz $2/ogl3.tgz
### wxGLCanvas
ls `cat $1/distrib/msw/glcanvas.rsp` > /tmp/glcanvas.txt
tar cvf $2/glcanvas.tar -T /tmp/glcanvas.txt
gzip $2/glcanvas.tar
mv $2/glcanvas.tar.gz $2/glcanvas.tgz
### wxTreeLayout
ls `cat $1/distrib/msw/wxtree.rsp` > /tmp/wxtree.txt
tar cvf $2/treedraw.tar -T /tmp/wxtree.txt
gzip $2/treedraw.tar
mv $2/treedraw.tar.gz $2/treedraw.tgz
### JPEG
ls `cat $1/distrib/msw/jpeg.rsp` > /tmp/jpeg.txt
tar cvf $2/jpeg.tar -T /tmp/jpeg.txt
gzip $2/jpeg.tar
mv $2/jpeg.tar.gz $2/jpeg.tgz
echo Done!

View File

@@ -1,6 +1,7 @@
utils/tex2rtf/src/*.cpp
utils/tex2rtf/src/*.h
utils/tex2rtf/src/make*.*
utils/tex2rtf/src/Makefile
utils/tex2rtf/src/*.xbm
utils/tex2rtf/src/*.xpm
utils/tex2rtf/src/*.sty

27
distrib/msw/user.rsp Normal file
View File

@@ -0,0 +1,27 @@
user/Makefile
user/wxConvert/*.cpp
user/wxConvert/*.h
user/wxConvert/Makefile
user/wxConvert/Makefile.in
user/wxFile/*.cpp
user/wxFile/*.h
user/wxFile/Makefile
user/wxFile/Makefile.in
user/wxFile/*.xpm
user/wxTest/*.cpp
user/wxTest/*.h
user/wxTest/Makefile
user/wxTest/Makefile.in
user/wxTest/*.xpm
user/wxTest/*.png
user/wxLayout/*.cpp
user/wxLayout/*.h
user/wxLayout/Makefile
user/wxLayout/Makefile.in
user/wxLayout/*.xpm
user/wxLayout/*.png

View File

@@ -1,5 +1,9 @@
src/wxVC.dsp
src/wxVC.dsw
src/wxvc.dsp
src/wxvc.dsw
src/wxvc6.dsp
src/wxvc6.dsw
src/wxvc_dll.dsp
src/wxvc_dll.dsw
samples/checklst/ChecklstVC.dsp
samples/checklst/ChecklstVC.dsw
@@ -145,6 +149,8 @@ utils/ogl/src/OglVC.dsp
utils/ogl/src/OglVC.dsw
utils/ogl/samples/ogledit/OgleditVC.dsp
utils/ogl/samples/ogledit/OgleditVC.dsw
utils/ogl/samples/studio/StudioVC.dsp
utils/ogl/samples/studio/StudioVC.dsw
utils/wxtree/src/TreeVC.dsp
utils/wxtree/src/TreeVC.dsw

10
distrib/msw/wxtree.rsp Normal file
View File

@@ -0,0 +1,10 @@
utils/wxtree/src/*.cpp
utils/wxtree/src/*.h
utils/wxtree/src/makefile*
utils/wxtree/src/*.xbm
utils/wxtree/src/*.xpm
utils/wxtree/lib/dummy
utils/wxtree/src/*.ico
utils/wxtree/src/*.def
utils/wxtree/src/*.rc

View File

@@ -1,6 +1,6 @@
@echo off
rem Zip up an external, generic + Windows distribution of wxWindows 2.0
set src=d:\wx2\wxWindows
set src=%wxwin
set dest=%src\deliver
if "%src" == "" goto usage
if "%dest" == "" goto usage
@@ -14,6 +14,7 @@ erase %dest\wx200*.zip
erase %dest\glcanvas.zip
erase %dest\ogl3.zip
erase %dest\tex2rtf2.zip
erase %dest\jpeg.zip
cd %src
echo Zipping...
@@ -34,6 +35,9 @@ zip32 -@ %dest\wx200wrd.zip < %src\distrib\msw\wx_word.rsp
rem VC++ project files
zip32 -@ %dest\wx200vc.zip < %src\distrib\msw\vc.rsp
rem BC++ project files
zip32 -@ %dest\wx200bc.zip < %src\distrib\msw\bc.rsp
rem CodeWarrior project files
zip32 -@ %dest\wx200cw.zip < %src\distrib\msw\cw.rsp
@@ -49,11 +53,16 @@ zip32 -@ %dest\tex2rtf2.zip < %src\distrib\msw\tex2rtf.rsp
rem wxTreeLayout
zip32 -@ %dest\treedraw.zip < %src\distrib\msw\wxtree.rsp
rem JPEG source
zip32 -@ %dest\jpeg.zip < %src\distrib\msw\jpeg.rsp
copy %src\docs\changes.txt %dest
copy %src\docs\msw\install.txt %dest\install_msw.txt
copy %src\docs\motif\install.txt %dest\install_motif.txt
copy %src\docs\gtk\install.txt %dest\install_gtk.txt
copy %src\docs\readme.txt %dest
copy %src\docs\motif\makewxmotif %dest
copy %src\docs\gtk\makewxgtk %dest
cd %dest

View File

@@ -4,9 +4,16 @@ wxWindows Buglist
wxGTK:
------
- It is impossible to reposition a window before showing it
on screen. Suspected GTK bug.
- DnD does only moderately work.
wxMSW:
------
- TODO
wxMotif:
--------
@@ -25,8 +32,23 @@ wxMotif:
- wxRadioBox sometimes doesn't show (e.g. in controls sample).
- wxStaticText doesn't wrap.
- Can't set the colours for the buttons in the file selector, for
some reason.
- On SGI IRIX 6.4, XtDestroyWidget in ~wxWindow causes a crash in
some cicumstances. This is being looked into. Meanwhile, a
possible workaround is to remove the final XtDestroyWidget line in ~wxWindow
(window.cpp). This will mean that child windows will only get
destroyed when frames and dialogs are destroyed, so dynamic subwindow
deletion may not work properly.
- There are reports that scrolling can cause crashes under Lesstif.
This is probably a Lesstif bug.
General:
--------
- Dialog Editor could be more user-friendly. Controls are hard to
size and position accurately. No way of changing tab order
except by editing .wxr file.

View File

@@ -1,11 +1,131 @@
wxWindows 2.0 Change Log
------------------------
wxWindows 2 Change Log
----------------------
Beta 3, January 1999
--------------------
2.1.0, b4, May 9th 1999
-----------------------
wxGTK:
- JPEG support added.
- Many fixes and changes not thought worth mentioning in this file :-)
wxMSW:
- wxNotebook changes: can add image only; wxNB_FIXEDWIDTH added;
SetTabSize added.
- JPEG support added.
- Fixes for Cygwin compilation.
- Added wxGA_SMOOTH and wxFRAME_FLOAT_ON_PARENT styles.
- Many fixes people didn't tell this file about.
wxMotif:
General:
- Some changes for Unicode support, including wxchar.h/cpp.
2.0.1 (release), March 1st 1999
-------------------------------
wxGTK:
- wxGLCanvas fixes.
- Slider/spinbutton fixes.
wxMSW:
- Fixed problems with <return> in dialogs/panels.
- Fixed window cursor setting.
- Fixed toolbar sizing and edge-clipping problems.
- Some makefile fixes.
wxMotif:
- None.
General:
- Added wxUSE_SOCKETS.
- More topic overviews.
- Put wxPrintPaperType, wxPrintPaperDatabase into
prntbase.h/cpp for use in non-PostScript situations
(e.g. Win16 wxPageSetupDialog).
Beta 5, February 18th 1999
--------------------------
wxGTK:
- wxExecute improved.
wxMSW:
- Fixed wxWindow::IsShown (::IsWindowVisible doesn't behave as
expected).
- Changed VC++ makefiles (.vc) so that it's possible to have
debug/release/DLL versions of the library available simultaneously,
with names wx.lib, wx_d.lib, wx200.lib(dll), wx200_d.lib(dll).
- Added BC++ 5 IDE files and instructions.
- Fixed wxChoice, wxComboBox constructor bugs (m_noStrings initialisation).
- Fixed focus-related crash.
wxMotif:
- Cured asynchronous wxExecute crash.
- Added repaint event handlers to wxFrame, wxMDIChildFrame.
General:
- wxLocale documented.
- Added include filenames to class reference.
- wxHelpController API changed: SetBrowser becomes SetViewer,
DisplaySection works for WinHelp, help sample compiles under Windows
(though doesn't display help yet).
Beta 4, February 12th 1999
--------------------------
wxGTK:
- Miscellaneous fixes.
wxMSW:
- Makefiles for more compilers and samples; Cygwin makefiles
rationalised.
- Added VC++ project file for compiling wxWindows as DLL.
wxMotif:
- Added OnEraseBackground invocation.
- Added wxRETAINED implementation for wxScrolledWindow.
- Cured scrolling display problem by adding XmUpdateDisplay.
- Tried to make lex-ing in the makefile more generic (command line
syntax should apply to both lex and flex).
- Changed file selector colours for consistency (except for buttons:
crashes for some reason).
- Fixed wxMotif version of wxImage::ConvertToBitmap (used new instead
of malloc, which causes memory problems).
General:
- Further doc improvements.
- wxGenericValidator added.
- Added wxImageModule to image.cpp, so adds/cleans up standard handlers
automatically.
Beta 3, January 31st 1999
-------------------------
wxGTK:
- wxClipboard/DnD API changes (still in progress).
- wxToolTip class added.
- Miscellaneous fixes.
wxMSW:
- wxRegConfig DeleteAll bug fixed.
@@ -13,6 +133,7 @@ wxMSW:
- TWIN32 support added.
- Renamed VC++ makefiles from .nt to .vc, and
factored out program/library settings.
- Fixed wxIniConfig bug.
wxMotif:

View File

@@ -6,17 +6,27 @@ like to read install instructions just do (in the base dir):
./configure
make
su <type root password>
make install
ldconfig
exit
* The most simple errors
------------------------
configure reports, that you don't have GTK 1.0.X installed
configure reports, that you don't have GTK 1.X installed
although you are certainly sure you have. Well, you have
installed it, but you also have another version of the
GTK installed, which you may need to removed including
other versions of glib (and its headers).
You get errors during compilation. The reason is that you
probably have a broken compiler, which includes almost
everything that is called gcc. If there is just any way
for you to use egcs, use egcs. We are sorry, but we cannot
fix gcc.
* The most simple program
-------------------------
@@ -47,18 +57,16 @@ this has no effect, but I tried...
-----------------------
wxWindows/GTK requires the GTK+ library to be installed on your system.
It has to be a stable version, preferebly version 1.0.6. When using
a version previous to 1.0.6 you'll get crashes here and there.
wxWindows/GTK does NOT work with the 1.1.X versions of the GTK+ library
and we will wait until the 1.2 version comes out and has stabilized
until we'll work with that library.
It has to be a stable version, preferebly version 1.2.3. You can use
GTK 1.0.X in connection with wxWindows, but we don't support Drag'n'Drop
for GTK 1.0.X so you have to "configure --without-dnd". wxWindows does
NOT work with the 1.1.X versions of the GTK+ library.
You can get the newest version of the GTK+ from the GTK homepage
at
http://www.gtk.org
We also mirror GTK+ 1.0.6 at my ftp site. You'll find information
We also mirror GTK+ 1.2.1 at my ftp site soon. You'll find information
about downloading at my homepage.
* Additional libraries
@@ -77,21 +85,19 @@ distributions have correct glibc 2 support:
- DLD 6.0
- SuSE 6.0
On IRIX you can also use SGI threads if Posix-Threads
are not present. The SGI threads will be detected by
configure automatically.
You can enable thread support by running
./configure "--with-threads"
make clean
make
su <type root password>
make install
ldconfig
exit
NB: I included thread support in wxWindows/Gtk, as this
problem will disappear in the near future when all major
Linux Variants have moved to glibc 2. Also, the Linux
Base Standard will include glibc 2 and Posix threads.
NB: DO NOT COMPILE WXGTK WITH GCC AND THREADS, SINCE
ALL PROGRAMS WILL CRASH UPON START-UP! Just always
use egcs and be happy.
* Create your configuration
-----------------------------
@@ -154,11 +160,17 @@ toolkit. You must do this by running configure with either of:
The following options handle the kind of library you want to build.
--with-threads Compile without thread support.
--with-threads Compile with thread support. Threads
support is also required for the
socket code to work.
--without-shared Do not create shared libraries.
--without-optimise Do not optimise the code.
--without-optimise Do not optimise the code. Can
sometimes be useful for debugging
and is required on some architectures
such as Sun with gcc 2.8.X which
would otherwise produce segvs.
--with-profile Add profiling info to the object
files. Currently broken, I think.
@@ -169,19 +181,51 @@ The following options handle the kind of library you want to build.
Read more at www.letters.com/dmalloc/
--with-debug_info Add debug info to object files and
executables.
executables for use with debuggers
such as gdb (or its many frontends).
--with-debug_flag Define __DEBUG__ and __WXDEBUG__ when
compiling.
compiling. This enable wxWindows' very
useful internal debugging tricks (such
as automatically reporting illegal calls)
to work. Note that program and library
must be compiled with the same debug
options.
* Feature Options
-------------------
As I don't yet care for binary size and target mainly at
producing a shared library, wxWindows's configure system auto-
matically enables all features, as long as they are already
implemented. It is currently NOT possible to disable these
options (in contrast to what configure tells you).
When producing an executable that is linked statically with wxGTK
you'll be surprised at its immense size. This can sometimes be
drastically reduced by removing features from wxWindows that
are not used in your program. The most relevant such features
are
--without-libpng Disables PNG image format code.
--without-libjpeg Disables JPEG image format code.
--without-odbc Disables ODBC code.
--without-wxresources Disables the use of *.wxr type
resources.
--without-threads Disables threads. Will also
disable sockets.
--without-sockets Disables sockets.
--without-dnd Disables Drag'n'Drop.
--without-clipboard Disables Clipboard.
--without-serial Disables object instance serialiasation.
--without-streams Disables the wxStream classes.
Apart from disabling certain features you can very often "strip"
the program of its debugging information resulting in a significant
reduction in size.
* Compiling
-------------
@@ -196,13 +240,12 @@ the library by typing:
make yourself some coffee, as it will take some time. On an old
386SX possibly week. During compilation, you'll get a few
warning messages.
warning messages depending in your compiler.
if you want to be more selective:
make src will build only the base libraries
make will build only the base libraries
make samples will build the samples
make other will build everything in other
make user will build everything in user
Then you may install the library and it's header files under
@@ -226,12 +269,12 @@ The "global" binaries and libraries will be placed in:
This is also the place where all the object-files will go.
(Currently there arent any global binaries).
If you want to conserve disk space by removing unnecessary
If you want to save disk space by removing unnecessary
object-files:
make clean_obj
make clean
will do the work for you.
in the various directories will do the work for you.
* Creating a new Project
--------------------------

11
docs/gtk/makewxgtk Normal file
View File

@@ -0,0 +1,11 @@
# makewxgtk
# Sets permissions (in case we extracted wxGTK from zip files)
# and makes wxGTK.
# Call from top-level wxWindows directory.
# Note that this uses standard (but commonly-used) configure options;
# if you're feeling brave, you may wish to compile with threads.
# -- Julian Smart
chmod a+x configure config.sub config.guess setup/general/* setup/shared/*
./configure --with-shared --with-gtk --with-debug_flag --with-debug_info --without-threads
make makefiles
make

View File

@@ -1,8 +1,11 @@
Welcome to wxWindows/Gtk 2.01 (beta 3),
Welcome to wxWindows/Gtk 2.1 snapshot 5,
you have downloaded version 2.01 of the GTK+ 1.0 port of
the wxWindows GUI library.
you have downloaded version 2.1 of the GTK+ 1.2 port of
the wxWindows GUI library. This is a developers release
and is it not suited for production development. Beware
that major changes can happen before a final release -
Particularly the makefile system will change entirly.
More information is available from my homepage at:
@@ -16,11 +19,14 @@ at Julian Smart's homepage at:
Information on how to install can be found in the file
INSTALL.txt, but if you cannot wait, this should work on
all systems
many systems (when using GTK 1.0 read the INSTALL.txt):
./configure
make
su <type root password>
make install
ldconfig
exit
Type the following to make the samples
@@ -42,9 +48,9 @@ DISTRIBUTION YOU USE AND WHAT ERROR WAS REPORTED. I know
this has no effect, but I tried...
The library produced by the install process will be called
libwx_gtk2.a (static) and libwx_gtk2.so.0.1 (shared) so that
libwx_gtk2.a (static) and libwx_gtk2.so.1.0 (shared) so that
once a binary incompatible version of wxWindows/Gtk comes out
we'll augment library version number to avoid linking problems.
we'll augment the library version number to avoid linking problems.
Please send problems concerning installation, feature requests,
bug reports or comments to the wxWindows users Information on
@@ -52,7 +58,7 @@ how to subscribe is available from my homepage.
wxWindows/Gtk doesn't come with any guarantee whatsoever. It might
crash your harddisk or destroy your monitor. It doesn't claim to be
suitable for any special purpose.
suitable for any special or general purpose.
Regards,

Binary file not shown.

View File

@@ -27,7 +27,7 @@ See also <a href="faq.htm">top-level FAQ page</a>.
You will need version 1.2 or above. Version 2 should also be fine. Some people
have had a positive experience with <a href="www.lesstif.org" target=_top>Lesstif</a>,
a free Motif clone. (Note from Julian Smart - I use the Linux version of MetroLink Motif).
a free Motif clone. (Note from Julian Smart - I use the Linux version of MetroLink Motif 1.2.4).
<P>
@@ -39,22 +39,16 @@ wxGLCanvas.<P>
The following classes are not likely to be implemented because there is no sensible
equivalent on Motif: wxMiniFrame, wxTaskBar.<P>
wxNotebook works for smaller dialogs (see notebook sample) but has some problems
with a more complex situation (see the controls sample: initial resizing is very apparent).
<P>
These features are not yet implemented:<P>
<ul>
<li>Clipboard and drag and drop support are currently under development. Motif clipboard support
should work, but currently for text only.
<li>Clipboard and drag and drop support are currently under development.
<li>Support for selection of specific visuals.
<li>Wide character support (but when Unicode is supported under Windows, this support will
be relatively easy to add).
<li>Configurable colour/font settings (they are currently hard-wired in wxSystemSettings).
<li>OnEraseBackground.
<li>OnPaint optimization and backing pixmap.
<li>A help system (please use wxHelpController and Netscape instead).
<li>A help system (please use wxHelpController and Netscape instead). An HTML widget and help
system is in preparation.
</ul>
<p>

View File

@@ -25,13 +25,13 @@ See also <a href="faq.htm">top-level FAQ page</a>.
<h3>Which Windows platforms are supported?</h3>
wxWindows can be used to develop and deliver applications on Windows 3.1, Win32s,
wxWindows 2 can be used to develop and deliver applications on Windows 3.1, Win32s,
Windows 95, Windows 98, and Windows NT. A Windows CE version is being looked into (see below).<P>
wxWindows 2 is designed to make use of WIN32 features and controls. However, unlike Microsoft,
we have not forgotten users of 16-bit Windows. Most features
work under Windows 3.1, including wxTreeCtrl and wxListCtrl using the generic implementation.
However, don't expect very Windows-specific classes to work, such as wxTaskBarIcon. The wxRegConfig
However, don't expect very Windows-95-specific classes to work, such as wxTaskBarIcon. The wxRegConfig
class doesn't work either because the Windows 3.1 registry is very simplistic. Check out the 16-bit
makefiles to see what other files have been left out.
<P>
@@ -101,13 +101,13 @@ Watcom C++ is a little slow and the debugger is not really up to today's standar
<h3>Is Unicode supported?</h3>
No, although there are other internationalisation features.<P>
Not yet, although there are other internationalisation features.<P>
However, the issues surrounding Unicode support have been looked into so we know
what we need to do, and have some header files ready to use containing appropriate
type definitions. Just about every file in wxWindows will need changes, due to the
pervasive nature of characters and character arrays. Unicode support is needed
for the port to Windows CE (see above).<P>
for the port to Windows CE (see above), and will probably be added in time for version 2.1.<P>
<h3>Can you compile wxWindows 2 as a DLL?</h3>
@@ -125,7 +125,8 @@ wxWindows!
<H3>How can I reduce executable size?</H3>
You can compile wxWindows as a DLL (see above, VC++/BC++ only at present). You should also
compile your programs for release using non-debugging and space-optimisation options.<P>
compile your programs for release using non-debugging and space-optimisation options, but
take with VC++ 5/6 space optimisation: it can sometimes cause problems.<P>
Statically-linked wxWindows 2 programs are smaller than wxWindows 1.xx programs, because of the way
wxWindows 2 has been designed to reduce dependencies between classes, and other
@@ -139,13 +140,32 @@ by Ian Luck. This nifty utility compresses Windows executables by around 50%, so
will shrink to a mere 250KB. With this sort of size, there is reduced incentive to
use DLLs.<P>
<H3>Will wxWindows be compatible with MFC?</H3>
<H3>Is wxWindows compatible with MFC?</H3>
There is a sample which demonstrates MFC and wxWindows code co-existing in the same
application. However, don't expect to be able to enable wxWindows windows with OLE-2
functionality using MFC.<P>
<H3>Why do I sometimes get bizarre crash problems using VC++ 5/6?</H3>
Some crash problems can be due to inconsistent compiler
options (and of course this isn't limited to wxWindows).
If strange/weird/impossible things start to happen please
check (dumping IDE project file as makefile and doing text comparison
if necessary) that the project settings, especially the list of defined
symbols, struct packing, etc. are exactly the same for all items in
the project. After this, delete everything (including PCH) and recompile.<P>
VC++ 5's optimization code seems to be broken and can
cause problems: this can be seen when deleting an object Dialog
Editor, in Release mode with optimizations on. If in doubt,
switch off optimisations, although this will result in much
larger executables. It seems possible that the library can be created with
strong optimization, so long as the application is not strongly
optimized. For example, in wxWindows project, set to 'Minimum
Size'. In Dialog Editor project, set to 'Customize: Favor Small
Code' (and no others). This will then work.<P>
</font>

View File

@@ -5,7 +5,8 @@
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT=#000000 LINK=#FF0000 VLINK=#000000>
<!BODY BGCOLOR="#FFFFFF" TEXT=#000000 LINK=#FF0000 VLINK=#000000>
<BODY BGCOLOR="#CCDDDFF" TEXT=#000000 LINK=#FF0000 VLINK=#000000>
<font face="Arial, Lucida Sans, Helvetica">
@@ -24,9 +25,9 @@
<P>
Welcome to wxWindows 2, the premiere cross-platform GUI C++ framework. This is an index of
the plain text and HTML documentation. Documentation is also available in Acrobat (PDF) and Windows Help,
from the <a href="http://www.wxwindows.org">wxWindows Web site</a>.<P>
Welcome to wxWindows 2, the premi&egrave;re cross-platform GUI C++ framework. This is an index of
the plain text, HTML, Windows Help and Acrobat documentation: availability depends on what you've
downloaded from the <a href="http://www.wxwindows.org">wxWindows Web site</a>.<P>
<CENTER>
<FONT size=-1>
@@ -37,9 +38,7 @@ from the <a href="http://www.wxwindows.org">wxWindows Web site</a>.<P>
</FONT>
</CENTER>
<hr>
<h3><a name="install">Installation and release notes</a></h3>
<h3 align=center><a name="install"><hr>Installation and release notes<hr></a></h3>
<ul>
<li>ReadMe: <a href="../readme.txt"><b>General ReadMe</b></a>,
@@ -71,33 +70,118 @@ from the <a href="http://www.wxwindows.org">wxWindows Web site</a>.<P>
<li>List of <a href="../symbols.txt">preprocessor symbols</a> used in wxWindows
</ul>
<hr>
<h3 align=center><a name="manuals"><hr>wxWindows manuals<hr></a></h3>
<table border=1 align=center>
<tr>
<td align=center bgcolor="#FFFF00">
<B>HTML</B>
</td>
<td align=center bgcolor="#FFFF00">
<B>WinHelp</B>
</td>
<td align=center bgcolor="#FFFF00">
<B>PDF</B>
</td>
</tr>
<tr>
<td align=center>
<a href="wx/wx.htm">Reference Manual</a>
</td>
<td align=center>
<a href="../winhelp/wx.hlp">Reference Manual</a>
</td>
<td align=center>
<a href="../pdf/wx.pdf">Reference Manual</a>
</td>
</tr>
<tr>
<td align=center>
<a href="porting/port.htm">Porting Guide</a>
</td>
<td align=center>
<a href="../winhelp/porting.hlp">Porting Guide</a>
</td>
<td align=center>
<a href="../pdf/porting.pdf">Porting Guide</a>
</td>
</tr>
<tr>
<td align=center>
<a href="dialoged/dlged.htm">Dialog Editor Manual</a>
</td>
<td align=center>
<a href="../winhelp/dialoged.hlp">Dialog Editor Manual</a>
</td>
<td align=center>
<a href="../pdf/dialoged.pdf">Dialog Editor Manual</a>
</td>
</tr>
<tr>
<td align=center>
<a href="proplist/prop.htm">Property List Classes</a>
</td>
<td align=center>
<a href="../winhelp/proplist.hlp">Propert List Classes</a>
</td>
<td align=center>
<a href="../pdf/proplist.pdf">Property List Classes</a>
</td>
</tr>
<tr>
<td align=center>
<a href="wxtree/tree.htm">wxTreeLayout Class</a>
</td>
<td align=center>
<a href="../winhelp/wxtree.hlp">wxTreeLayout Class</a>
</td>
<td align=center>
<a href="../pdf/wxtree.pdf">wxTreeLayout Class</a>
</td>
</tr>
<tr>
<td align=center>
<a href="odbc/odbc.htm">Remstar ODBC Classes</a>
</td>
<td align=center>
<BR><BR>
</td>
<td align=center>
<a href="../pdf/odbc.pdf">Remstar ODBC Classes</a>
</td>
</tr>
</table>
<h3><a name="manuals">wxWindows manuals</a></h3>
<h3 align=center><a name="thirdparty"><hr>Third-party tools<hr></a></h3>
<ul>
<li><a href="wx/wx.htm">Reference Manual</a>
<li><a href="porting/port.htm">Porting Guide</a> (wxWindows 1.xx to 2)
<li><a href="dialoged/dlged.htm">Dialog Editor</a>
<li><a href="proplist/prop.htm">Property List Classes</a>
<li><a href="wxtree/tree.htm">wxTreeLayout</a>
<li><a href="odbc/odbc.htm">Remstar ODBC Classes</a>
<li><a href="gettext/gettext.htm">gettext Manual</a>
<li><a href="gettext/xgettext.htm">xgettext Manual</a>
<li><a href="gettext/msgfmt.htm">msgfmt Manual</a>
</ul>
<hr>
<h3><a name="thirdparty">Third-party tools</a></h3>
<ul>
<li><a href="gettext/gettext.htm">gettext manual</a>
<li><a href="gettext/xgettext.htm">xgettext manual</a>
<li><a href="gettext/msgfmt.htm">msgfmt manual</a>
</ul>
<hr>
<h3><a name="samples">Samples</a></h3>
<h3 align=center><a name="samples"><hr>Samples<hr></a></h3>
<ul>
<li><a href="../../samples/bombs">bombs</a>: minesweeper-like game.
@@ -137,6 +221,7 @@ scheme is used whereby child windows have full sizing and moving rights within t
window. On other platforms, tabbed windows are used, where the children are always maximized.
<li><a href="../../samples/memcheck">memcheck</a>: demonstrates the memory checking/debugging facilities.
<li><a href="../../samples/mfc">mfc</a>: shows how to use MFC and wxWindows code in the same application (Windows only).
To compile this, you must edit include/wx/wxprec.h, comment out the windows.h inclusion, and recompile wxWindows.
<li><a href="../../samples/minifram">minifram</a>: demonstrates a frame with a small title bar. On
platforms that don't support it, a normal-sized title bar is displayed.
<li><a href="../../samples/minimal">minimal</a>: just shows a frame, a menubar, and a statusbar. About as

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -14,7 +14,7 @@
\parindent=0pt
\title{Guide to porting applications from wxWindows 1.xx to 2.0}
\author{Julian Smart}
\date{October 1997}
\date{March 1999}
\makeindex
\begin{document}
\maketitle
@@ -40,13 +40,10 @@ how you can modify your application to be 2.0-compliant.
You may be worrying that porting to 2.0 will be a lot of work,
particularly if you have only recently started using 1.xx. In fact,
the wxWindows 2.0 API has far more in common with 1.xx than it has differences.
With backward compatibility mode on, much of the conversion can be
done gradually. The main challenges are doing without the default
The main challenges are using the new event system, doing without the default
panel item layout, and the lack of automatic labels in some controls.
However, if you already use resource files (.wxr), or application-specific positioning,
or constraints, then even this will be quite painless.
So please don't be freaked out by the jump to 2.0! For one thing, 1.xx is still available
Please don't be freaked out by the jump to 2.0! For one thing, 1.xx is still available
and will be supported by the user community for some time. And when you have
changed to 2.0, we hope that you will appreciate the benefits in terms
of greater flexibility, better user interface aesthetics, improved C++ conformance,
@@ -100,7 +97,7 @@ void MyFrame::OnOK(wxCommandEvent& event)
You may find that writing the extra code to call a member function isn't worth it at this stage,
but the option is there.
\item {\bf Use wxString wherever possible.} 2.0 will replace char * with wxString
\item {\bf Use wxString wherever possible.} 2.0 replaces char * with wxString
in most cases, and if you use wxString to receive strings returned from
wxWindows functions (except when you need to save the pointer if deallocation is required), there should
be no conversion problems later on.
@@ -112,7 +109,7 @@ Windows and X under wxWindows 1.66. Yes, this is not easy... but I think it's be
standards of each platform, and currently the size difference makes it difficult to
conform to Windows UI standards. You may eventually wish to build in a global 'fudge-factor' to compensate
for size differences. The old font sizing will still be available via wx\_setup.h, so do not panic...
\item {\bf Consider dropping wxForm usage}: an alternative is to be found in utils/wxprop.
\item {\bf Consider dropping wxForm usage}:
wxPropertyFormView can be used in a wxForm-like way, except that you specify a pre-constructed panel
or dialog; or you can use a wxPropertyListView to show attributes in a scrolling list - you don't even need
to lay panel items out.
@@ -180,7 +177,8 @@ See \helpref{Device contexts and painting}{dc}.
These objects - instances of classes such as wxPen, wxBrush, wxBitmap (but not wxColour) -
are now implemented with reference-counting. This makes assignment a very cheap operation,
and also means that management of the resource is largely automatic. You now pass {\it references} to
objects to functions such as wxDC::SetPen. The device context does not store a copy of the pen
objects to functions such as wxDC::SetPen, not pointers, so you will need to derefence your pointers.
The device context does not store a copy of the pen
itself, but takes a copy of it (via reference counting), and the object's data gets freed up
when the reference count goes to zero. The application does not have to worry so much about
who the object belongs to: it can pass the reference, then destroy the object without
@@ -191,11 +189,8 @@ pointers to GDI objects, and using the FindOrCreate... functions. However, it is
keep this explicit management to a minimum, instead creating objects on the fly as needed, on the stack,
unless this causes too much of an overhead in your application.
At a minimum, you will have to make sure that calls to SetPen, SetBrush etc. work. Some compilers
will do the conversion from pointer to reference automatically (via a constructor in the GDI
class) but you cannot rely on this being true for all compilers. Also, where you pass NULL to these
functions, you will need to either cast to the appropriate reference type, or instead
use an identifier such as wxNullPen or wxNullBrush.
At a minimum, you will have to make sure that calls to SetPen, SetBrush etc. work. Also, where you pass NULL to these
functions, you will need to use an identifier such as wxNullPen or wxNullBrush.
\chapter{Dialogs and controls}\label{dialogscontrols}
@@ -213,8 +208,7 @@ properties.
All window constructors have two main changes, apart from the label issue mentioned above.
Windows now have integer identifiers; and position and size are now passed as wxPoint and
wxSize objects. In addition, some windows have a wxValidator argument. wxWindows 2.0 may provide
old-style constructors in WXWIN\_COMPATIBILITY mode for limited backward compatibility.
wxSize objects. In addition, some windows have a wxValidator argument.
\wxheading{Show versus ShowModal}
@@ -253,7 +247,7 @@ wxGroupBox is renamed wxStaticBox.
\wxheading{wxForm}
Note that wxForm is no longer supported in wxWindows 2.0. Consider using the wxPropertyForm class
Note that wxForm is no longer supported in wxWindows 2.0. Consider using the wxPropertyFormView class
instead, which takes standard dialogs and panels and associates controls with property objects.
You may also find that the new validation method, combined with dialog resources, is easier
and more flexible than using wxForm.
@@ -327,7 +321,7 @@ Try to use the {\bf const} keyword in your own code where possible.
\chapter{Backward compatibility}\label{compat}
Some wxWindows 1.xx functionality has been left to ease the transition to 2.0. This functionality
(usually) only works if you compile with WXWIN\_COMPATIBILITY set to 1.
(usually) only works if you compile with WXWIN\_COMPATIBILITY set to 1 in setup.h.
Mostly this defines old names to be the new names (e.g. wxRectangle is defined to be wxRect).
@@ -336,50 +330,169 @@ Mostly this defines old names to be the new names (e.g. wxRectangle is defined t
This section allows you to quickly find features that
need to be converted.
TODO
\section{Include files}
Use the form:
\begin{verbatim}
#include <wx/wx.h>
#include <wx/button.h>
\end{verbatim}
For precompiled header support, use this form:
\begin{verbatim}
// For compilers that support precompilation, includes "wx.h".
#include <wx/wxprec.h>
#ifdef __BORLANDC__
#pragma hdrstop
#endif
// Any files you want to include if not precompiling by including
// the whole of <wx/wx.h>
#ifndef WX_PRECOMP
#include <stdio.h>
#include <wx/setup.h>
#include <wx/bitmap.h>
#include <wx/brush.h>
#endif
// Any files you want to include regardless of precompiled headers
#include <wx/toolbar.h>
\end{verbatim}
\section{IPC classes}
These are now separated out into wxDDEServer/Client/Connection (Windows only) and wxTCPServer/Client/Connection
(Windows and Unix). Take care to use wxString for your overridden function arguments, instead of char*, as per
the documentation.
\section{MDI style frames}
MDI is now implemented as a family of separate classes, so you can't switch to MDI just by
using a different frame style. Please see the documentation for the MDI frame classes, and the MDI
sample may be helpful too.
\section{OnActivate}
Rename to OldOnActivate, or replace arguments with one wxActivateEvent\& argument.
Replace the arguments with one wxActivateEvent\& argument, make sure the function isn't virtual,
and add an EVT\_ACTIVATE event table entry.
\wxheading{See also}
\section{OnChar}
\helpref{Backward compatibility}{compat}
This is now a non-virtual function, with the same wxKeyEvent\& argument as before.
Add an EVT\_CHAR macro to the event table
for your window, and the implementation of your function will need very few changes.
\section{OnClose}
This can either remain the same as before, or you can add an OnCloseWindow event
handler using an EVT\_CLOSE event table entry.
The old virtual function OnClose is now obsolete.
Add an OnCloseWindow event handler using an EVT\_CLOSE event table entry. For details
about window destruction, see the Windows Deletion Overview in the manual. This is a subtle
topic so please read it very carefully. Basically, OnCloseWindow is now responsible for
destroying a window with Destroy(), but the default implementation (for example for wxDialog) may not
destroy the window, so to be sure, always provide this event handler so it's obvious what's going on.
\wxheading{See also}
\section{OnEvent}
\helpref{Backward compatibility}{compat}
This is now a non-virtual function, with the same wxMouseEvent\& argument as before. However
you may wish to rename it OnMouseEvent. Add an EVT\_MOUSE\_EVENTS macro to the event table
for your window, and the implementation of your function will need very few changes.
However, if you wish to intercept different events using different functions, you can
specify specific events in your event table, such as EVT\_LEFT\_DOWN.
Your OnEvent function is likely to have references to GetDC(), so make sure you create
a wxClientDC instead. See \helpref{Device contexts}{dc}.
If you are using a wxScrolledWindow (formerly wxCanvas), you should call
PrepareDC(dc) to set the correct translation for the current scroll position.
\section{OnMenuCommand}
Rename to OldOnMenuCommand, or replace with a series of functions, one for
each case of your old switch statement. Create an event table for your frame
containing EVT\_MENU macros, and insert DECLARE\_EVENT\_TABLE() in your frame class.
You need to replace this virtual function with a series of non-virtual functions, one for
each case of your old switch statement. Each function takes a wxCommandEvent\& argument.
Create an event table for your frame
containing EVT\_MENU macros, and insert DECLARE\_EVENT\_TABLE() in your frame class, as
per the samples.
\wxheading{See also}
\section{OnPaint}
\helpref{Backward compatibility}{compat}
This is now a non-virtual function, with a wxPaintEvent\& argument.
Add an EVT\_PAINT macro to the event table
for your window.
Your function {\it must} create a wxPaintDC object, instead of using GetDC to
obtain the device context.
If you are using a wxScrolledWindow (formerly wxCanvas), you should call
PrepareDC(dc) to set the correct translation for the current scroll position.
\section{OnSize}
Rename to OldOnSize, or replace arguments with one wxSizeEvent\& argument.
Replace the arguments with one wxSizeEvent\& argument, make it non-virtual, and add to your
event table using EVT\_SIZE.
\wxheading{See also}
\section{wxApp definition}
\helpref{Backward compatibility}{compat}
The definition of OnInit has changed. Return a bool value, not a wxFrame.
Also, do {\it not} declare a global application object. Instead, use the macros
DECLARE\_APP and IMPLEMENT\_APP as per the samples. Remove any occurrences of IMPLEMENT\_WXWIN\_MAIN:
this is subsumed in IMPLEMENT\_APP.
\section{wxButton}
For bitmap buttons, use wxBitmapButton.
\section{wxCanvas}
Change the name to wxScrolledWindow.
\section{wxDialogBox}
Change the name to wxDialog, and for modal dialogs, use ShowModal instead of Show.
\section{wxDialog::Show}
If you used {\bf Show} to show a modal dialog, or to override the standard
If you used {\bf Show} to show a modal dialog or to override the standard
modal dialog {\bf Show}, use {\bf ShowModal} instead.
\wxheading{See also}
\helpref{Dialogs and controls}{dialogscontrols}
\section{wxForm}
Sorry, this class is no longer available. Try using the wxPropertyListView or wxPropertyFormView class
instead, or use .wxr files and validators.
\section{wxPoint}
The old wxPoint is called wxRealPoint, and wxPoint now uses integers.
\section{wxRectangle}
This is now called wxRect.
\section{wxScrollBar}
The function names have changed for this class: please refer to the documentation for wxScrollBar. Instead
of setting properties individually, you will call SetScrollbar with several parameters.
\section{wxText, wxMultiText, wxTextWindow}
Change all these to wxTextCtrl. Add the window style wxTE\_MULTILINE if you
wish to have a multi-line text control.
\section{wxToolBar}
This name is an alias for the most popular form of toolbar for your platform. There is now a family
of toolbar classes, with for example wxToolBar95, wxToolBarMSW and wxToolBarSimple classes existing
under Windows 95.
Toolbar management is supported by frames, so calling wxFrame::CreateToolBar and adding tools is usually
enough, and the SDI or MDI frame will manage the positioning for you. The client area of the frame is the space
left over when the menu bar, toolbar and status bar have been taken into account.
\end{document}

View File

@@ -4,7 +4,6 @@
\overview{Property classes overview}{propertyoverview}
\section{\class{wxBoolFormValidator}: wxPropertyFormValidator}\label{wxboolformvalidator}
\overview{Validator classes}{validatorclasses}

View File

@@ -9,7 +9,7 @@ footerRule = yes
useHeadingStyles = yes
contentsDepth = 2
listItemIndent=40
generateHPJ = no
generateHPJ = yes
htmlBrowseButtons = bitmap
winHelpVersion = 3
winHelpContents = yes

13
docs/latex/wx/.cvsignore Normal file
View File

@@ -0,0 +1,13 @@
WX.GID
WX.HLP
wx.ref
wx.cnt
Wx.rtf
Wx.con
minimald.hpj
minimald.ref
minimald.con
MINIMALD.HLP
minimald.GID
minimald.cnt
minimald.rtf

View File

@@ -6,6 +6,10 @@ An object used by an application wishing to create an \helpref{accelerator table
None
\wxheading{Include files}
<wx/accel.h>
\wxheading{See also}
\helpref{wxAcceleratorTable}{wxacceleratortable}, \helpref{wxWindow::SetAcceleratorTable}{wxwindowsetacceleratortable}
@@ -77,6 +81,10 @@ initial accelerator table for a window.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/accel.h>
\wxheading{Example}
{\small%

View File

@@ -8,6 +8,10 @@ or deactivated.
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process an activate event, use these event handler macros to direct input to a member

View File

@@ -22,6 +22,10 @@ a reference to your application object) to be visible to other files.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/app.h>
\wxheading{See also}
\helpref{wxApp overview}{wxappoverview}
@@ -127,18 +131,17 @@ otherwise.
\helpref{wxApp::SetExitOnDelete}{wxappsetexitondelete}
\membersection{wxApp::GetPrintMode}\label{wxappgetprintmode}
\constfunc{bool}{GetPrintMode}{\void}
Returns the print mode: see \helpref{wxApp::SetPrintMode}{wxappsetprintmode}.
\membersection{wxApp::GetTopWindow}\label{wxappgettopwindow}
\constfunc{wxWindow *}{GetTopWindow}{\void}
Returns a pointer to the top window.
\wxheading{Remarks}
If the top window hasn't been set using \helpref{wxApp::SetTopWindow}{wxappsettopwindow}, this
function will find the first top-level window (frame or dialog) and return that.
\wxheading{See also}
\helpref{wxApp::SetTopWindow}{wxappsettopwindow}
@@ -267,7 +270,7 @@ Under Windows, OnEndSession is called in response to the WM\_ENDSESSION message.
\func{bool}{OnInit}{\void}
This must be provided by the application, and will usually create the
application's main window, calling \helpref{wxApp::SetTopWindow}{wxappsettopwindow}.
application's main window, optionally calling \helpref{wxApp::SetTopWindow}{wxappsettopwindow}.
Return TRUE to continue processing, FALSE to exit the application.
@@ -419,31 +422,16 @@ deleted. If FALSE, the application will continue to run.}
Currently, setting this to FALSE only has an effect under Windows.
\membersection{wxApp::SetPrintMode}\label{wxappsetprintmode}
\func{void}{SetPrintMode}{\param{int}{ mode}}
Sets the print mode determining what printing facilities will be
used by the printing framework.
\wxheading{Parameters}
\docparam{mode}{This can be one of:
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf wxPRINT\_WINDOWS}}{Under Windows, use Windows printing (wxPrinterDC). This is the
default under Windows.}
\twocolitem{{\bf wxPRINT\_POSTSCRIPT}}{Use PostScript printing (wxPostScriptDC). This is the
default for non-Windows platforms.}
\end{twocollist}
}%
\membersection{wxApp::SetTopWindow}\label{wxappsettopwindow}
\func{void}{SetTopWindow}{\param{wxWindow* }{window}}
Sets the `top' window. You should normally call this from within \helpref{wxApp::OnInit}{wxapponinit} to
let wxWindows know which is the main window.
Sets the `top' window. You can call this from within \helpref{wxApp::OnInit}{wxapponinit} to
let wxWindows know which is the main window. You don't have to set the top window;
it's only a convenience so that (for example) certain dialogs without parents can use a
specific window as the top window. If no top window is specified by the application,
wxWindows just uses the first frame or dialog in its top-level window list, when it
needs to use the top window.
\wxheading{Parameters}

View File

@@ -39,7 +39,14 @@ deleted when the element is removed from the array. It should be noted that
all of wxArray's functions are inline, so it costs strictly nothing to define as
many array types as you want (either in terms of the executable size or the
speed) as long as at least one of them is defined and this is always the case
because wxArrays are used by wxWindows internally.
because wxArrays are used by wxWindows internally. This class has one serious
limitation: it can only be used for storing integral types (bool, char, short,
int, long and their unsigned variants) or pointers (of any kind). An attempt
to use with objects of sizeof() greater than sizeof(long) will provoke a
runtime assertion failure, however declaring a wxArray of floats will not (on
the machines where sizeof(float) <= sizeof(long)), yet it will {\bf not} work,
please use wxObjArray for storing floats and doubles (NB: a more efficient
wxArrayDouble class is scheduled for the next release of wxWindows).
wxSortedArray is a wxArray variant which should be used when searching in the
array is a frequently used operation. It requires you to define an additional
@@ -51,9 +58,8 @@ slower: it is $O(log(N))$ instead of constant time (neglecting time spent in
memory allocation routine). However, in a usual situation elements are added to
an array much less often than searched inside it, so wxSortedArray may lead to
huge performance improvements compared to wxArray. Finally, it should be
noticed that, as wxArray, wxSortedArray can not be used to store anything of
sizeof() larger than max(sizeof(long), sizeof(void *)) - an assertion failure
will be raised from the constructor otherwise.
noticed that, as wxArray, wxSortedArray can be only used for storing integral
types or pointers.
wxObjArray class treats its elements like "objects". It may delete them when
they are removed from the array (invoking the correct destructor) and copies

249
docs/latex/wx/arrstrng.tex Normal file
View File

@@ -0,0 +1,249 @@
\section{\class{wxArrayString}}\label{wxarraystring}
wxArrayString is an efficient container for storing
\helpref{wxString}{wxstring} objects. It has the same features as all
\helpref{wxArray}{wxarray} classes, i.e. it dynamically expands when new items
are added to it (so it is as easy to use as a linked list), but the access
time to the elements is constant, instead of being linear in number of
elements as in the case of linked lists. It is also very size efficient and
doesn't take more space than a C array {\it wxString[]} type. wxArrayString
uses its knowledge of internals of wxString class to achieve this.
This class is used in the same way as other dynamic \helpref{arrays}{wxarray},
except that no {\it WX\_DEFINE\_ARRAY} declaration is needed for it. When a
string is added or inserted in the array, a copy of the string is created, so
the original string may be safely deleted (e.g. if it was a {\it char *}
pointer the memory it was using can be freed immediately after this). In
general, there is no need to worry about string memory deallocation when using
this class - it will always free the memory it uses itself.
The references returned by \helpref{Item}{wxarraystringitem},
\helpref{Last}{wxarraystringlast} or
\helpref{operator[]}{wxarraystringoperatorindex} are not constant, so the
array elements may be modified in place like this
\begin{verbatim}
array.Last().MakeUpper();
\end{verbatim}
Finally, none of the methods of this class is virtual including its
destructor, so this class should not be derived from.
\wxheading{Derived from}
Although this is not true strictly speaking, this class may be considered as a
specialization of \helpref{wxArray}{wxarray} class for the wxString member
data: it is not implemented like this, but it does have all of the wxArray
functions.
\wxheading{Include files}
<wx/string.h>
\wxheading{See also}
\helpref{wxArray}{wxarray}, \helpref{wxString}{wxstring}, \helpref{wxString overview}{wxstringoverview}
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxArrayString::wxArrayString}\label{wxarraystringctor}
\func{}{wxArrayString}{\void}
\func{}{wxArrayString}{\param{const wxArrayString\&}{ array}}
Default and copy constructors.
\membersection{wxArrayString::\destruct{wxArrayString}}\label{wxarraystringdtor}
\func{}{\destruct{wxArrayString}}{}
Destructor frees memory occupied by the array strings. For the performance
reasons it is not virtual, so this class should not be derived from.
\membersection{wxArrayString::operator=}\label{wxarraystringoperatorassign}
\func{wxArrayString \&}{operator $=$}{\param{const wxArrayString\&}{ array}}
Assignment operator.
\membersection{wxArrayString::operator[]}\label{wxarraystringoperatorindex}
\func{wxString\&}{operatorp[]}{\param{size\_t }{nIndex}}
Return the array element at position {\it nIndex}. An assert failure will
result from an attempt to access an element beyond the end of array in debug
mode, but no check is done in release mode.
This is the operator version of \helpref{Item}{wxarraystringitem} method.
\membersection{wxArrayString::Add}\label{wxarraystringadd}
\func{void}{Add}{\param{const wxString\& }{str}}
Appends a new item to the array.
See also: \helpref{Insert}{wxarraystringinsert}
\membersection{wxArrayString::Alloc}\label{wxarraystringalloc}
\func{void}{Alloc}{\param{size\_t }{nCount}}
Preallocates enough memory to store {\it nCount} items. This function may be
used to improve array class performance before adding a known number of items
consecutively.
See also: \helpref{Dynamic array memory management}{wxarraymemorymanagement}
\membersection{wxArrayString::Clear}\label{wxarraystringclear}
\func{void}{Clear}{\void}
Clears the array contents and frees memory.
See also: \helpref{Empty}{wxarraystringempty}
\membersection{wxArrayString::Count}\label{wxarraystringcount}
\constfunc{size\_t}{Count}{\void}
Returns the number of items in the array. This function is deprecated and is
for backwards compatibility only, please use
\helpref{GetCount}{wxarraystringgetcount} instead.
\membersection{wxArrayString::Empty}\label{wxarraystringempty}
\func{void}{Empty}{\void}
Empties the array: after a call to this function
\helpref{GetCount}{wxarraystringgetcount} will return $0$. However, this
function does not free the memory used by the array and so should be used when
the array is going to be reused for storing other strings. Otherwise, you
should use \helpref{Clear}{wxarraystringclear} to empty the array and free
memory.
\membersection{wxArrayString::GetCount}\label{wxarraystringgetcount}
\constfunc{size\_t}{GetCount}{\void}
Returns the number of items in the array.
\membersection{wxArrayString::Index}\label{wxarraystringindex}
\func{int}{Index}{\param{const char *}{ sz}, \param{bool}{ bCase = TRUE}, \param{bool}{ bFromEnd = FALSE}}
Search the element in the array, starting from the beginning if
{\it bFromEnd} is FALSE or from end otherwise. If {\it bCase}, comparison is
case sensitive (default), otherwise the case is ignored.
Returns index of the first item matched or wxNOT\_FOUND if there is no match.
\membersection{wxArrayString::Insert}\label{wxarraystringinsert}
\func{void}{Insert}{\param{const wxString\& }{str}, \param{size\_t}{ nIndex}}
Insert a new element in the array before the position {\it nIndex}. Thus, for
example, to insert the string in the beginning of the array you would write
\begin{verbatim}
Insert("foo", 0);
\end{verbatim}
If {\it nIndex} is equal to {\it GetCount() + 1} this function behaves as
\helpref{Add}{wxarraystringadd}.
\membersection{wxArrayString::IsEmpty}\label{wxarraystringisempty}
\func{}{IsEmpty}{}
Returns TRUE if the array is empty, FALSE otherwise. This function returns the
same result as {\it GetCount() == 0} but is probably easier to read.
\membersection{wxArrayString::Item}\label{wxarraystringitem}
\constfunc{wxString\&}{Item}{\param{size\_t }{nIndex}}
Return the array element at position {\it nIndex}. An assert failure will
result from an attempt to access an element beyond the end of array in debug
mode, but no check is done in release mode.
See also \helpref{operator[]}{wxarraystringoperatorindex} for the operator
version.
\membersection{wxArrayString::Last}\label{wxarraystringlast}
\func{}{Last}{}
Returns the last element of the array. Attempt to access the last element of
an empty array will result in assert failure in debug build, however no checks
are done in release mode.
\membersection{wxArrayString::Remove (by value)}\label{wxarraystringremoveval}
\func{void}{Remove}{\param{const char *}{ sz}}
Removes the first item matching this value. An assert failure is provoked by
an attempt to remove an element which does not exist in debug build.
See also: \helpref{Index}{wxarraystringindex}, \helpref{Remove}{wxarraystringremove}
\membersection{wxArrayString::Remove (by index)}\label{wxarraystringremove}
\func{void}{Remove}{\param{size\_t }{nIndex}}
Removes the item at given position.
See also: \helpref{Remove}{wxarraystringremoveval}
\membersection{wxArrayString::Shrink}\label{wxarraystringshrink}
\func{void}{Shrink}{\void}
Releases the extra memory allocated by the array. This function is useful to
minimize the array memory consumption.
See also: \helpref{Alloc}{wxarraystringalloc}, \helpref{Dynamic array memory management}{wxarraymemorymanagement}
\membersection{wxArrayString::Sort (alphabetically)}\label{wxarraystringsort}
\func{void}{Sort}{\param{bool}{ reverseOrder = FALSE}}
Sorts the array in alphabetical order or in reverse alphabetical order if
{\it reverseOrder} is TRUE.
See also: \helpref{Sort}{wxarraystringsortcallback}
\membersection{wxArrayString::Sort (user defined)}\label{wxarraystringsortcallback}
\func{void}{Sort}{\param{CompareFunction }{compareFunction}}
Sorts the array using the specified {\it compareFunction} for item comparison.
{\it CompareFunction} is defined as a function taking two {\it const
wxString\&} parameters and returning {\it int} value less than, equal to or
greater than 0 if the first string is less than, equal to or greater than the
second one.
\wxheading{Example}
The following example sorts strings by their length.
\begin{verbatim}
static int CompareStringLen(const wxString& first, const wxString& second)
{
return first.length() - second.length();
}
...
wxArrayString array;
array.Add("one");
array.Add("two");
array.Add("three");
array.Add("four");
array.Sort(CompareStringLen);
\end{verbatim}
See also: \helpref{Sort}{wxarraystringsort}

View File

@@ -22,6 +22,10 @@ Note that this class works under Windows only, and currently only for Visual C++
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/msw/ole/automtn.h>
\wxheading{See also}
\helpref{wxVariant}{wxvariant}
@@ -70,19 +74,6 @@ needing to call GetProperty several times using several temporary objects. For e
\end{verbatim}
}
\membersection{wxAutomationObject::ConvertOleToVariant}\label{wxautomationobjectconvertoletovariant}
\constfunc{bool}{ConvertOleToVariant}{\param{const VARIANTARG\&}{ oleVariant}, \param{const wxVariant\&}{ variant}}
Converts the given VARIANTARG object to a wxVariant. IDispatch pointers are converted to the ``void*" type.
\membersection{wxAutomationObject::ConvertVariantToOle}\label{wxautomationobjectconvertvarianttoole}
\constfunc{bool}{ConvertVariantToOle}{\param{const wxVariant\&}{ variant}, \param{VARIANTARG\&}{ oleVariant}}
Converts the given wxVariant object to a VARIANTARG. The ``void*" type is assumed to be an
IDispatch pointer.
\membersection{wxAutomationObject::CreateInstance}\label{wxautomationobjectcreateinstance}
\constfunc{bool}{CreateInstance}{\param{const wxString\&}{ classId}}

View File

@@ -12,6 +12,10 @@ almost any other window.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/bmpbuttn.h>
\wxheading{Remarks}
A bitmap button can be supplied with a single bitmap, and wxWindows will draw

View File

@@ -10,12 +10,22 @@ either monochrome or colour.
\helpref{wxGDIObject}{wxgdiobject}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/bitmap.h>
\wxheading{Predefined objects}
Objects:
{\bf wxNullBitmap}
\wxheading{See also}
\helpref{wxBitmap overview}{wxbitmapoverview},
\helpref{supported bitmap file formats}{supportedbitmapformats},
\helpref{wxDC::Blit}{wxdcblit},
\helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor}, \helpref{wxBitmap}{wxbitmap},
\helpref{wxBitmap overview}{wxbitmapoverview},
\helpref{supported bitmap file formats}{supportedbitmapformats},
\helpref{wxDC::Blit}{wxdcblit},
\helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor}, \helpref{wxBitmap}{wxbitmap},
\helpref{wxMemoryDC}{wxmemorydc}
\latexignore{\rtfignore{\wxheading{Members}}}
@@ -124,6 +134,17 @@ Under X, {\it type} defaults to wxBITMAP\_TYPE\_XPM.
\helpref{wxBitmap::LoadFile}{wxbitmaploadfile}
\pythonnote{Constructors supported by wxPython are:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{\bf{wxBitmap(name, flag)}}{Loads a bitmap from a file}
\twocolitem{\bf{wxNoRefBitmap(name, flag)}}{This one won't own the
reference, so Python won't call the destructor, this is good for toolbars
and such where the parent will manage the bitmap.}
\twocolitem{\bf{wxEmptyBitmap(width, height, depth = -1)}}{Creates an
empty bitmap with the given specifications}
\end{twocollist}}
}
\membersection{wxBitmap::\destruct{wxBitmap}}
\func{}{\destruct{wxBitmap}}{\void}
@@ -388,8 +409,9 @@ Saves a bitmap in the named file.
The validity of these flags depends on the platform and wxWindows configuration.}
\docparam{palette}{An optional palette used for saving the bitmap. TODO: this parameter should
probably be eliminated; instead the app should set the palette before saving.}
\docparam{palette}{An optional palette used for saving the bitmap.}
% TODO: this parameter should
%probably be eliminated; instead the app should set the palette before saving.
\wxheading{Return value}
@@ -538,6 +560,10 @@ application initialisation.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/bitmap.h>
\wxheading{See also}
\helpref{wxBitmap}{wxbitmap}, \helpref{wxIcon}{wxicon}, \helpref{wxCursor}{wxcursor}
@@ -640,8 +666,7 @@ Saves a bitmap in the named file.
\docparam{type}{See \helpref{wxBitmap::wxBitmap}{wxbitmapconstr} for values this can take.}
\docparam{palette}{An optional palette used for saving the bitmap. TODO: this parameter should
probably be eliminated; instead the app should set the palette before saving.}
\docparam{palette}{An optional palette used for saving the bitmap.}
\wxheading{Return value}

View File

@@ -1,14 +1,25 @@
\section{\class{wxBitmapDataObject}}\label{wxbitmapdataobject}
wxBitmapDataObject is a specialization of wxDataObject for bitmaps.
wxBitmapDataObject is a specialization of wxDataObject for bitmap data. It can be
used without change to paste data into the \helpref{wxClipboard}{wxclipboard}
or a \helpref{wxDropSource}{wxdropsource}. A user may wish to derive a new class
from this class for providing a bitmap on-demand in order to minimize memory consumption
when offering data in several formats, such as a bitmap and GIF.
In order to offer bitmap data on-demand \helpref{GetSize}{wxbitmapdataobjectgetsize}
and \helpref{WriteData}{wxbitmapdataobjectwritedata} will have to be overridden.
\wxheading{Derived from}
\helpref{wxDataObject}{wxdataobject}
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{wxDataObject}{wxdataobject}, \helpref{wxBitmap}{wxbitmap}
\helpref{wxDataObject}{wxdataobject}
\latexignore{\rtfignore{\wxheading{Members}}}
@@ -16,23 +27,90 @@
\func{}{wxBitmapDataObject}{\void}
Constructor. TODO: shouldn't there be a constructor taking a wxBitmap?
Default constructor. Call \helpref{SetBitmap}{wxbitmapdataobjectsetbitmap} later
or override \helpref{WriteData}{wxbitmapdataobjectwritedata} and
\helpref{GetSize}{wxbitmapdataobjectgetsize} for providing data on-demand.
\membersection{wxBitmapDataObject::GetFormat}\label{wxbitmapdataobjectgetformat}
\func{}{wxBitmapDataObject}{\param{const wxBitmap\& }{bitmap}}
\func{virtual wxDataFormat}{GetFormat}{\void}
Constructor, passing a bitmap.
Returns wxDF\_BITMAP.
\membersection{wxBitmapDataObject::GetSize}\label{wxbitmapdataobjectgetsize}
\constfunc{virtual size\_t}{GetSize}{\void}
Returns the data size. By default, returns the size of the bitmap data
set in the constructor or using \helpref{SetBitmap}{wxbitmapdataobjectsetbitmap}.
This can be overridden to provide size data on-demand. Note that you'd
have to call the inherited GetSize method as this is the only way
to get to know the transfer size of the bitmap in a platform dependent
way - a bitmap has different size under GTK and Windows. In practice,
this would look like this:
\begin{verbatim}
size_t MyBitmapDataObject::GetSize()
{
// Get bitmap from global container. This container
// should be able to "produce" data in all formats
// offered by the application but store it only in
// one format to reduce memory consumption.
wxBitmap my_bitmap = my_global_container->GetBitmap();
// temporarily set bitmap
SetBitmap( my_bitmap );
size_t ret = wxBitmapDataObject::GetSize();
// unset bitmap again
SetBitmap( wxNullBitmap );
retrun ret;
}
\end{verbatim}
TODO: Offer a nicer way to do this. Maybe by providing a platform
dependent function in this class like
\begin{verbatim}
size_t GetBitmapSize( const wxBitmap &bitmap )
\end{verbatim}
\membersection{wxBitmapDataObject::GetBitmap}\label{wxbitmapdataobjectgettext}
\constfunc{virtual wxBitmap}{GetBitmap}{\void}
Returns the bitmap associated with the data object. You may wish to override
this method when offering data on-demand, but this is not required by
wxWindows' internals. Use this method to get data in bitmap form from
the \helpref{wxClipboard}{wxclipboard}.
\membersection{wxBitmapDataObject::SetBitmap}\label{wxbitmapdataobjectsetbitmap}
\func{virtual void}{SetBitmap}{\param{const wxBitmap\& }{bitmap}}
Sets the bitmap for the data object.
Sets the bitmap associated with the data object. This method is called
internally when retrieving data from the \helpref{wxClipboard}{wxclipboard}
and may be used to paste data to the clipboard directly (instead of
on-demand).
\membersection{wxBitmapDataObject::GetBitmap}\label{wxbitmapdataobjectgetbitmap}
\membersection{wxBitmapDataObject::WriteData}\label{wxbitmapdataobjectwritedata}
\constfunc{virtual wxBitmap}{GetBitmap}{\void}
\constfunc{virtual void}{WriteData}{\param{void}{*dest} }
Returns the bitmap associated with the data object.
Write the data owned by this class to {\it dest}. By default, this
calls \helpref{WriteBitmap}{wxbitmapdataobjectwritebitmap} with the bitmap
set in the constructor or using \helpref{SetBitmap}{wxbitmapdataobjectsetbitmap}.
This can be overridden to provide bitmap data on-demand; in this case
\helpref{WriteBitmap}{wxbitmapdataobjectwritebitmap} must be called from
within th overriding WriteData() method.
\membersection{wxBitmapDataObject::WriteBitmap}\label{wxbitmapdataobjectwritebitmap}
\constfunc{void}{WriteBitmap}{\param{const wxBitmap\& }{bitmap}\param{void}{*dest} }
Writes the the bitmap {\it bitmap} to {\it dest}. This method must be called
from \helpref{WriteData}{wxbitmapdataobjectwritedata}.

View File

@@ -7,8 +7,8 @@
wxWindows is a C++ framework providing GUI (Graphical User
Interface) and other facilities on more than one platform. Version 2.0 currently
supports MS Windows (16-bit, Windows 95 and Windows NT) and GTK+, with Motif
and Mac ports in an advanced state.
supports MS Windows (16-bit, Windows 95 and Windows NT), Unix with GTK+, and Unix with Motif.
A Mac port is in an advanced state.
wxWindows was originally developed at the Artificial Intelligence
Applications Institute, University of Edinburgh, for internal use.
@@ -80,7 +80,7 @@ here are some of the benefits:
\item Available on a variety of popular platforms.
\item Works with almost all popular C++ compilers.
\item Several example programs.
\item Over 700 pages of printable and on-line documentation.
\item Over 900 pages of printable and on-line documentation.
\item Includes Tex2RTF, to allow you to produce your own documentation
in Windows Help, HTML and Word RTF formats.
\item Simple-to-use, object-oriented API.
@@ -148,7 +148,7 @@ same API;
temporarily with the window as an argument;
\item events from sliders and scrollbars can be handled more flexibly;
\item the handling of window close events has been changed in line with the new
event system, but backward {\bf OnClose} compatibility has been retained;
event system;
\item the concept of {\it validator} has been added to allow much easier coding of
the relationship between controls and application data;
\item the documentation has been revised, with more cross-referencing.
@@ -194,7 +194,7 @@ Applications Institute by anonymous FTP and World Wide Web:
\begin{verbatim}
ftp://www.remstar.com/pub/wxwin
http://web.ukonline.co.uk/julian.smart/wxwin
http://www.wxwindows.org
\end{verbatim}
\section{Acknowledgments}

View File

@@ -9,6 +9,29 @@ style.
\helpref{wxGDIObject}{wxgdiobject}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/brush.h>
\wxheading{Predefined objects}
Objects:
{\bf wxNullBrush}
Pointers:
{\bf wxBLUE\_BRUSH\\
wxGREEN\_BRUSH\\
wxWHITE\_BRUSH\\
wxBLACK\_BRUSH\\
wxGREY\_BRUSH\\
wxMEDIUM\_GREY\_BRUSH\\
wxLIGHT\_GREY\_BRUSH\\
wxTRANSPARENT\_BRUSH\\
wxCYAN\_BRUSH\\
wxRED\_BRUSH}
\wxheading{Remarks}
On a monochrome display, wxWindows shows
@@ -32,8 +55,7 @@ efficiency problems. Once one wxBrush object changes its data it will create its
own brush data internally so that other brushes, which previously shared the
data using the reference counting, are not affected.
TODO: an overview for wxBrush.
%TODO: an overview for wxBrush.
\wxheading{See also}
\helpref{wxBrushList}{wxbrushlist}, \helpref{wxDC}{wxdc}, \helpref{wxDC::SetBrush}{wxdcsetbrush}
@@ -260,6 +282,10 @@ A brush list is a list containing all brushes which have been created.
\helpref{wxList}{wxlist}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/gdicmn.h>
\wxheading{Remarks}
There is only one instance of this class: {\bf wxTheBrushList}. Use

View File

@@ -20,6 +20,10 @@ and \helpref{wxEndBusyCursor}{wxendbusycursor} in the destructor.
None
\wxheading{Include files}
<wx/utils.h>
\wxheading{See also}
\helpref{wxBeginBusyCursor}{wxbeginbusycursor}, \helpref{wxEndBusyCursor}{wxendbusycursor}

View File

@@ -12,6 +12,10 @@ almost any other window.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/button.h>
\wxheading{Window styles}
There are no special styles for wxButton.

View File

@@ -9,6 +9,10 @@ occupy.
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/laywin.h>
\wxheading{Event table macros}
\twocolwidtha{7cm}%

View File

@@ -57,6 +57,7 @@ in an application.
\twocolitem{\helpref{wxFontDialog}{wxfontdialog}}{Font chooser dialog}
\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
\twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
\twocolitem{\helpref{wxMessageDialog}{wxmessagedialog}}{Simple message box dialog}
\end{twocollist}
@@ -143,7 +144,7 @@ These classes are related to drawing on device contexts and windows.
\twocolitem{\helpref{wxFont}{wxfont}}{Represents fonts}
\twocolitem{\helpref{wxFontList}{wxfontlist}}{The list of previously-created fonts}
\twocolitem{\helpref{wxIcon}{wxicon}}{A small, transparent bitmap for assigning to frames and drawing on device contexts}
\twocolitem{\helpref{wxImage}{wximage}}{A platform-independent image class.}
\twocolitem{\helpref{wxImage}{wximage}}{A platform-independent image class}
\twocolitem{\helpref{wxImageList}{wximagelist}}{A list of images, used with some controls}
\twocolitem{\helpref{wxMask}{wxmask}}{Represents a mask to be used with a bitmap for transparent drawing}
\twocolitem{\helpref{wxPen}{wxpen}}{Used for drawing lines on a device context}
@@ -196,8 +197,9 @@ These are the window validators, used for filtering and validating
user input.
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxValidator}{wxvalidator}}{Base validator class.}
\twocolitem{\helpref{wxTextValidator}{wxtextvalidator}}{Text control validator class.}
\twocolitem{\helpref{wxValidator}{wxvalidator}}{Base validator class}
\twocolitem{\helpref{wxTextValidator}{wxtextvalidator}}{Text control validator class}
\twocolitem{\helpref{wxGenericValidator}{wxgenericvalidator}}{Generic control validator class}
\end{twocollist}
{\large {\bf Data structures}}
@@ -222,7 +224,7 @@ These are the data structure classes supported by wxWindows.
\twocolitem{\helpref{wxSize}{wxsize}}{Representation of a size}
\twocolitem{\helpref{wxTime}{wxtime}}{A class for time manipulation}
\twocolitem{\helpref{wxVariant}{wxvariant}}{A class for storing arbitrary types
that may change at run-time.}
that may change at run-time}
\end{twocollist}
{\large {\bf Run-time class information system}}
@@ -307,12 +309,15 @@ facilities.
\twocolitem{\helpref{wxPreviewFrame}{wxpreviewframe}}{Frame for displaying a print preview}
\twocolitem{\helpref{wxPreviewCanvas}{wxpreviewcanvas}}{Canvas for displaying a print preview}
\twocolitem{\helpref{wxPreviewControlBar}{wxpreviewcontrolbar}}{Standard control bar for a print preview}
\twocolitem{\helpref{wxPrintData}{wxprintdata}}{Represents information about the document being printed}
\twocolitem{\helpref{wxPrintDialog}{wxprintdialog}}{Standard print dialog}
\twocolitem{\helpref{wxPageSetupDialog}{wxpagesetupdialog}}{Standard page setup dialog}
\twocolitem{\helpref{wxPrinter}{wxprinter}}{Class representing the printer}
\twocolitem{\helpref{wxPrinterDC}{wxprinterdc}}{Printer device context}
\twocolitem{\helpref{wxPrintout}{wxprintout}}{Class representing a particular printout}
\twocolitem{\helpref{wxPrintPreview}{wxprintpreview}}{Class representing a print preview}
\twocolitem{\helpref{wxPrintData}{wxprintdata}}{Represents information about the document being printed}
\twocolitem{\helpref{wxPrintDialogData}{wxprintdialogdata}}{Represents information about the print dialog}
\twocolitem{\helpref{wxPageSetupDialogData}{wxpagesetupdialogdata}}{Represents information about the page setup dialog}
\end{twocollist}
{\large {\bf Database classes}}
@@ -335,15 +340,16 @@ The older classes are as follows:
\overview{Drag and drop and clipboard overview}{wxdndoverview}
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxDropTarget}{wxdroptarget}}{Drop target class}
\twocolitem{\helpref{wxFileDropTarget}{wxfiledroptarget}}{File drop target class}
\twocolitem{\helpref{wxTextDropTarget}{wxtextdroptarget}}{Text drop target class}
\twocolitem{\helpref{wxDropSource}{wxdropsource}}{Drop source class}
\twocolitem{\helpref{wxDataObject}{wxdataobject}}{Data object class}
\twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class}
\twocolitem{\helpref{wxFileDataObject}{wxtextdataobject}}{File data object class}
\twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class}
\twocolitem{\helpref{wxPrivateDataObject}{wxprivatedataobject}}{Private data object class}
\twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class}
\twocolitem{\helpref{wxDropTarget}{wxdroptarget}}{Drop target class}
\twocolitem{\helpref{wxFileDropTarget}{wxfiledroptarget}}{File drop target class}
\twocolitem{\helpref{wxTextDropTarget}{wxtextdroptarget}}{Text drop target class}
\twocolitem{\helpref{wxDropSource}{wxdropsource}}{Drop source class}
\end{twocollist}
{\large {\bf File related classes}}
@@ -357,6 +363,28 @@ overview}{wxfileoverview} for more details.
\twocolitem{\helpref{wxTextFile}{wxtextfile}}{Class for working with text files as with arrays of lines}
\end{twocollist}
{\large {\bf Stream classes}}
wxWindows has its own set of stream classes, as an alternative to often buggy standard stream
libraries, and to provide enhanced functionality.
\begin{twocollist}\itemsep=0pt
\twocolitem{\helpref{wxStreamBase}{wxstreambase}}{Stream base class}
\twocolitem{\helpref{wxStreamBuffer}{wxstreambuffer}}{Stream buffer class}
\twocolitem{\helpref{wxInputStream}{wxinputstream}}{Input stream class}
\twocolitem{\helpref{wxOutputStream}{wxoutputstream}}{Output stream class}
\twocolitem{\helpref{wxFilterInputStream}{wxfilterinputstream}}{Filtered input stream class}
\twocolitem{\helpref{wxFilterOutputStream}{wxfilteroutputstream}}{Filtered output stream class}
\twocolitem{\helpref{wxDataInputStream}{wxdatainputstream}}{Platform-independent data input stream class}
\twocolitem{\helpref{wxDataOutputStream}{wxdataoutputstream}}{Platform-independent data output stream class}
\twocolitem{\helpref{wxFileInputStream}{wxfileinputstream}}{File input stream class}
\twocolitem{\helpref{wxFileOutputStream}{wxfileoutputstream}}{File output stream class}
\twocolitem{\helpref{wxZlibInputStream}{wxzlibinputstream}}{Zlib (compression) input stream class}
\twocolitem{\helpref{wxZlibOutputStream}{wxzliboutputstream}}{Zlib (compression) output stream class}
\twocolitem{\helpref{wxSocketInputStream}{wxsocketinputstream}}{Socket input stream class}
\twocolitem{\helpref{wxSocketOutputStream}{wxsocketoutputstream}}{Socket output stream class}
\end{twocollist}
{\large {\bf Miscellaneous}}
\begin{twocollist}\itemsep=0pt

View File

@@ -10,6 +10,10 @@ or off (no checkmark).
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/checkbox.h>
\wxheading{Window styles}
There are no special styles for wxCheckBox.

View File

@@ -15,13 +15,21 @@ Only the new functions for this class are documented; see also \helpref{wxListBo
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/checklst.h>
\wxheading{Window styles}
See \helpref{wxListBox}{wxlistbox}.
\wxheading{Event handling}
See \helpref{wxListBox}{wxlistbox}.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_CHECKLISTBOX(id, func)}}{Process a wxEVT\_COMMAND\_CHECKLISTBOX\_TOGGLE event,
when an item in the check list box is checked or unchecked.}
\end{twocollist}
\wxheading{See also}
@@ -64,6 +72,10 @@ appropriately.}
\docparam{name}{Window name.}
\pythonnote{The wxCheckListBox constructor in wxPython reduces the \tt{n}
and \tt{choices} arguments are to a single argument, which is
a list of strings.}
\membersection{wxCheckListBox::\destruct{wxCheckListBox}}
\func{void}{\destruct{wxCheckListBox}}{\void}

View File

@@ -11,6 +11,10 @@ menu of choices.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/choice.h>
\wxheading{Window styles}
There are no special styles for wxChoice.
@@ -70,6 +74,10 @@ appropriately.}
\helpref{wxChoice::Create}{wxchoicecreate}, \helpref{wxValidator}{wxvalidator}
\pythonnote{The wxChoice constructor in wxPython reduces the \tt{n}
and \tt{choices} arguments are to a single argument, which is
a list of strings.}
\membersection{wxChoice::\destruct{wxChoice}}
\func{}{\destruct{wxChoice}}{\void}

View File

@@ -8,6 +8,10 @@ of macros such as {\bf DECLARE\_DYNAMIC\_CLASS} and {\bf IMPLEMENT\_DYNAMIC\_CLA
No parent class.
\wxheading{Include files}
<wx/object.h>
\wxheading{See also}
\helpref{Overview}{wxclassinfooverview}, \helpref{wxObject}{wxobject}

View File

@@ -2,35 +2,12 @@
\setheader{{\it CHAPTER \thechapter}}{}{}{}{}{{\it CHAPTER \thechapter}}%
\setfooter{\thepage}{}{}{}{}{\thepage}%
\pagenumbering{arabic}%
%
\begin{comment}
\helpignore{\section{Class hierarchy}%
The GUI-specific wxWindows class hierarchy is shown in Figure 5.1.
Many other, non-GUI classes have been omitted.
\vskip 1cm
$$\image{14cm;0cm}{wxclass.ps}$$
\vskip 1cm
\centerline{Figure 5.1: wxWindows class hierarchy}
\newpage}%
\overview{Writing a wxWindows application: a rough guide}{roughguide}
\helponly{
\sethotspotcolour{off}%
\large{
\helpref{Notes on using the reference}{referencenotes}\\
\helpref{Guide to functions}{functions}
\sethotspotcolour{on}%
}}
\end{comment}
\input accel.tex
\input activevt.tex
\input app.tex
\input array.tex
\input arrstrng.tex
\input autoobj.tex
\input busycurs.tex
\input button.tex
@@ -60,8 +37,8 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input cursor.tex
\input database.tex
\input dataobj.tex
\input date.tex
\input datstrm.tex
\input date.tex
\input dc.tex
\input ddeclint.tex
\input ddeconn.tex
@@ -69,13 +46,13 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input debugcxt.tex
\input dialog.tex
\input dirdlg.tex
\input document.tex
\input docchfrm.tex
\input docmanag.tex
\input docmdich.tex
\input docmdipr.tex
\input docprfrm.tex
\input doctempl.tex
\input document.tex
\input dropevt.tex
\input dropsrc.tex
\input droptrgt.tex
@@ -88,6 +65,7 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input filedlg.tex
\input fildrptg.tex
\input filehist.tex
\input strmfile.tex
\input filetype.tex
\input fltinstr.tex
\input fltoutst.tex
@@ -99,9 +77,11 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input ftp.tex
\input gauge.tex
\input gdiobj.tex
\input valgen.tex
\input grid.tex
\input hash.tex
\input helpinst.tex
\input http.tex
\input idleevt.tex
\input icon.tex
\input image.tex
@@ -109,6 +89,7 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input ilayout.tex
\input indlgevt.tex
\input inputstr.tex
\input ipvaddr.tex
\input joystick.tex
\input joyevent.tex
\input keyevent.tex
@@ -118,13 +99,17 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input listbox.tex
\input listctrl.tex
\input listevt.tex
\input locale.tex
\input log.tex
\input longlong.tex
\input mask.tex
\input mdi.tex
\input memorydc.tex
\input strmmem.tex
\input menu.tex
\input menuitem.tex
\input menuevt.tex
\input memorydc.tex
\input msgdlg.tex
\input metafile.tex
\input mimetype.tex
\input minifram.tex
@@ -132,12 +117,12 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input mouseevt.tex
\input moveevt.tex
\input mltchdlg.tex
\input msgdlg.tex
\input mutex.tex
\input mutexlck.tex
\input node.tex
\input notebook.tex
\input noteevt.tex
\input notifevt.tex
\input object.tex
\input outptstr.tex
\input pagedlg.tex
@@ -155,6 +140,7 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input prvdatob.tex
\input prvtdrpt.tex
\input process.tex
\input progdlg.tex
\input procevt.tex
\input protocol.tex
\input query.tex
@@ -178,36 +164,38 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input slider.tex
\input sckaddr.tex
\input socket.tex
\input splitevt.tex
\input strmsock.tex
\input spinbutt.tex
\input splitter.tex
\input statbmp.tex
\input statbox.tex
\input stattext.tex
\input statusbr.tex
\input strmbase.tex
\input stream.tex
\input wxstring.tex
\input strlist.tex
\input stream.tex
\input strmbase.tex
\input tokenizr.tex
\input sysclevt.tex
\input settings.tex
\input tab.tex
\input tabctrl.tex
\input tabevent.tex
\input taskbar.tex
\input text.tex
\input textdlg.tex
\input txtdrptg.tex
\input valtext.tex
\input tempfile.tex
\input tcpclint.tex
\input tcpconn.tex
\input tcpservr.tex
\input tempfile.tex
\input text.tex
\input txtdatob.tex
\input textdlg.tex
\input txtdrptg.tex
\input valtext.tex
\input textfile.tex
\input thread.tex
\input time.tex
\input timer.tex
\input tokenizr.tex
\input toolbar.tex
\input treectrl.tex
\input treeevt.tex
@@ -219,7 +207,7 @@ $$\image{14cm;0cm}{wxclass.ps}$$
\input wave.tex
\input window.tex
\input windowdc.tex
\input strmzlib.tex
\input function.tex
\input keycode.tex

View File

@@ -14,6 +14,10 @@ To draw on the whole window including decorations, construct a \helpref{wxWindow
\helpref{wxDC}{wxdc}
\wxheading{Include files}
<wx/dcclient.h>
\wxheading{See also}
\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp

View File

@@ -40,6 +40,10 @@ For example:
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/clipbrd.h>
\wxheading{See also}
\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDataObject}{wxdataobject}
@@ -79,14 +83,14 @@ Call this function to close the clipboard, having opened it with \helpref{wxClip
\membersection{wxClipboard::GetData}\label{wxclipboardgetdata}
\func{bool}{GetData}{\param{wxDataObject&}{ data}}
\func{bool}{GetData}{\param{wxDataObject\&}{ data}}
Call this function to fill {\it data} with data on the clipboard, if available in the required
format. Returns TRUE on success.
\membersection{wxClipboard::IsSupported}\label{wxclipboardissupported}
\func{bool}{IsSupported}{\param{wxDataObject&}{ data}}
\func{bool}{IsSupported}{\param{wxDataObject\&}{ data}}
Returns TRUE if the format of the given data object is available on the clipboard.
@@ -102,7 +106,7 @@ should keep the clipboard open for only a very short time.
Returns TRUE on success. This should be tested (as in the sample shown above).
\membersection{wxClipboard::SetData}\label{wxclipboardadddata}
\membersection{wxClipboard::SetData}\label{wxclipboardsetdata}
\func{bool}{SetData}{\param{wxDataObject*}{ data}}

View File

@@ -6,6 +6,10 @@ This event class contains information about window and session close events.
\helpref{wxEvent}{wxevent}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process a close event, use these event handler macros to direct input to member

View File

@@ -7,6 +7,10 @@ simple controls. More complex controls, such as \helpref{wxTreeCtrl}{wxtreectrl}
\helpref{wxEvent}{wxevent}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process a menu command event, use these event handler macros to direct input to member
@@ -14,9 +18,9 @@ functions that take a wxCommandEvent argument.
\twocolwidtha{7cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{{\bf EVT\_COMMAND(id, cmd, func)}}{Process a command, supplying the window identifier,
\twocolitem{{\bf EVT\_COMMAND(id, event, func)}}{Process a command, supplying the window identifier,
command event identifier, and member function.}
\twocolitem{{\bf EVT\_COMMAND\_RANGE(id1, id2, cmd, func)}}{Process a command for a range
\twocolitem{{\bf EVT\_COMMAND\_RANGE(id1, id2, event, func)}}{Process a command for a range
of window identifiers, supplying the minimum and maximum window identifiers,
command event identifier, and member function.}
\twocolitem{{\bf EVT\_BUTTON(id, func)}}{Process a wxEVT\_COMMAND\_BUTTON\_CLICKED command,
@@ -181,8 +185,3 @@ Sets the {\bf m\_commandInt} member.
Sets the {\bf m\_commandString} member.
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "referenc"
%%% End:

View File

@@ -8,6 +8,10 @@ if you want different behaviour.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxCommandProcessor overview}{wxcommandprocessoroverview}, \helpref{wxCommand}{wxcommand}

View File

@@ -9,6 +9,10 @@ This class represents the colour chooser dialog.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/colordlg.h>
\wxheading{See also}
\helpref{wxColourDialog Overview}{wxcolourdialogoverview}, \helpref{wxColour}{wxcolour}, \helpref{wxColourData}{wxcolourdata}

View File

@@ -11,6 +11,26 @@ Valid RGB values are in the range 0 to 255.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/colour.h>
\wxheading{Predefined objects}
Objects:
{\bf wxNullColour}
Pointers:
{\bf wxBLACK\\
wxWHITE\\
wxRED\\
wxBLUE\\
wxGREEN\\
wxCYAN\\
wxLIGHT\_GREY}
\wxheading{See also}
\helpref{wxColourDatabase}{wxcolourdatabase}, \helpref{wxPen}{wxpen}, \helpref{wxBrush}{wxbrush},\rtfsp
@@ -53,6 +73,14 @@ Copy constructor.
\helpref{wxColourDatabase}{wxcolourdatabase}
\pythonnote{Constructors supported by wxPython are:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{\bf{wxColour(red=0, green=0, blue=0)}}{}
\twocolitem{\bf{wxNamedColour(name)}}{}
\end{twocollist}}
}
\membersection{wxColour::Blue}\label{wxcolourblue}
\constfunc{unsigned char}{Blue}{\void}
@@ -112,18 +140,12 @@ Assignment operator, using a colour name to be found in the colour database.
Tests the equality of two colours by comparing individual red, green blue colours.
TODO: this may be different on platforms other than Windows - no reference counting
is done on Windows.
\membersection{wxColour::operator $!=$}\label{wxcolourinequality}
\func{bool}{operator $!=$}{\param{const wxColour\&}{ colour}}
Tests the inequality of two colours by comparing individual red, green blue colours.
TODO: this may be different on platforms other than Windows - no reference counting
is done on Windows.
\section{\class{wxColourData}}\label{wxcolourdata}
This class holds a variety of information related to colour dialogs.
@@ -132,6 +154,10 @@ This class holds a variety of information related to colour dialogs.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/cmndata.h>
\wxheading{See also}
\helpref{wxColour}{wxcolour}, \helpref{wxColourDialog}{wxcolourdialog}, \helpref{wxColourDialog overview}{wxcolourdialogoverview}
@@ -221,6 +247,10 @@ is only one instance of this class: {\bf wxTheColourDatabase}.
\helpref{wxList}{wxlist}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/gdicmn.h>
\wxheading{Remarks}
The colours in the standard database are as follows:

View File

@@ -14,6 +14,10 @@ A combobox permits a single selection only. Combobox items are numbered from zer
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/combo.h>
\wxheading{Window styles}
\begin{twocollist}\itemsep=0pt
@@ -81,6 +85,11 @@ appropriately.}
\helpref{wxComboBox::Create}{wxcomboboxcreate}, \helpref{wxValidator}{wxvalidator}
\pythonnote{The wxComboBox constructor in wxPython reduces the \tt{n}
and \tt{choices} arguments are to a single argument, which is
a list of strings.}
\membersection{wxComboBox::\destruct{wxComboBox}}
\func{}{\destruct{wxComboBox}}{\void}
@@ -220,8 +229,7 @@ Returns the current value in the combobox text field.
\constfunc{int}{Number}{\void}
Returns the number of items in the combobox list.
TODO: make this GetNumber or GetCount?
%TODO: make this GetNumber or GetCount?
\membersection{wxComboBox::Paste}\label{wxcomboboxpaste}

View File

@@ -9,6 +9,10 @@ change the data or view.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\overview{Overview}{wxcommandoverview}

View File

@@ -6,6 +6,10 @@ TODO
None.
\wxheading{Include files}
<wx/thread.h>
\wxheading{See also}
\helpref{wxThread}{wxthread}, \helpref{wxMutex}{wxmutex}

View File

@@ -21,6 +21,14 @@ features of this class.
No base class
\wxheading{Include files}
<wx/config.h> (to let wxWindows choose a wxConfig class for your platform)\\
<wx/confbase.h> (base config class)\\
<wx/fileconf.h> (wxFileconfig class)\\
<wx/msw/regconf.h> (wxRegConfig class)\\
<wx/msw/iniconf.h> (wxIniConfig class)
\wxheading{Example}
Here is how you would typically use this class:
@@ -116,7 +124,7 @@ sensible!):
// create an entry in subgroup
conf->Write("SubgroupEntry", 3);
// '..' is understood
conf->Write("../GroupEntry", 2);
conf->SetPath("..");
@@ -150,7 +158,7 @@ doesn't save and restore the path):
void bar(wxConfigBase *config)
{
config->Write("Test", 17);
foo(config);
// we're reading "/Foo/Data/Test" here! -1 will probably be returned...
@@ -222,13 +230,12 @@ actually enumerating them, but you will probably never need them.
\helpref{HasGroup}{wxconfigbasehasgroup}\\
\helpref{HasEntry}{wxconfigbasehasentry}\\
\helpref{Exists}{wxconfigbaseexists}
\helpref{Exists}{wxconfigbaseexists}\\
\helpref{GetEntryType}{wxconfigbasegetentrytype}
\membersection{Miscellaneous accessors}
\helpref{SetAppName}{wxconfigbasesetappname}\\
\helpref{GetAppName}{wxconfigbasegetappname}\\
\helpref{SetVendorName}{wxconfigbasesetvendorname}\\
\helpref{GetVendorName}{wxconfigbasegetvendorname}
\membersection{Key access}
@@ -351,7 +358,9 @@ class and is ignored by some. For wxFileConfig, these styles determine whether
a local or global config file is created or used. If the flag is present but
the parameter is empty, the parameter will be set to a default. If the
parameter is present but the style flag not, the relevant flag will be added
to the style.}
to the style. For wxFileConfig you can also add wxCONFIG\_USE\_RELATIVE\_PATH
by logicaly or'ing it to either of the _FILE options to tell wxFileConfig to
use relative instead of absolute paths. }
\wxheading{Remarks}
@@ -428,6 +437,29 @@ Get the current config object. If there is no current object, creates one
Returns the application name.
\membersection{wxConfigBase::GetEntryType}\label{wxconfigbasegetentrytype}
\constfunc{enum wxConfigBase::EntryType}{GetEntryType}{\param{const wxString\& }{name}}
Returns the type of the given entry or {\it Unknown} if the entry doesn't
exist. This function should be used to decide which version of Read() should
be used because some of wxConfig implementations will complain about type
mismatch otherwise: e.g., an attempt to read a string value from an integer
key with wxRegConfig will fail.
The result is an element of enum EntryType:
\begin{verbatim}
enum EntryType
{
Unknown,
String,
Boolean,
Integer,
Float
};
\end{verbatim}
\membersection{wxConfigBase::GetFirstGroup}\label{wxconfigbasegetfirstgroup}
\constfunc{bool}{GetFirstGroup}{\param{wxString\& }{str}, \param{long\&}{
@@ -435,6 +467,10 @@ index}}
Gets the first group.
\pythonnote{The wxPython version of this method returns a 3-tuple
consisting of the continue flag, the value string, and the index for
the next call.}
\membersection{wxConfigBase::GetFirstEntry}\label{wxconfigbasegetfirstentry}
\constfunc{bool}{GetFirstEntry}{\param{wxString\& }{str}, \param{long\&}{
@@ -442,6 +478,10 @@ index}}
Gets the first entry.
\pythonnote{The wxPython version of this method returns a 3-tuple
consisting of the continue flag, the value string, and the index for
the next call.}
\membersection{wxConfigBase::GetNextGroup}\label{wxconfigbasegetnextgroup}
\constfunc{bool}{GetNextGroup}{\param{wxString\& }{str}, \param{long\&}{
@@ -449,6 +489,10 @@ index}}
Gets the next group.
\pythonnote{The wxPython version of this method returns a 3-tuple
consisting of the continue flag, the value string, and the index for
the next call.}
\membersection{wxConfigBase::GetNextEntry}\label{wxconfigbasegetnextentry}
\constfunc{bool}{GetNextEntry}{\param{wxString\& }{str}, \param{long\&}{
@@ -456,6 +500,10 @@ index}}
Gets the next entry.
\pythonnote{The wxPython version of this method returns a 3-tuple
consisting of the continue flag, the value string, and the index for
the next call.}
\membersection{wxConfigBase::GetNumberOfEntries}\label{wxconfigbasegetnumberofentries}
\constfunc{uint }{GetNumberOfEntries}{\param{bool }{bRecursive = FALSE}}
@@ -572,6 +620,15 @@ not found, {\it b} is not changed.
Reads a bool value, returning TRUE if the value was found. If the value was
not found, {\it defaultVal} is used instead.
\pythonnote{In place of a single overloaded method name, wxPython
implements the following methods:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{\bf{Read(key, default="")}}{Returns a string.}
\twocolitem{\bf{ReadInt(key, default=0)}}{Returns an int.}
\twocolitem{\bf{ReadFloat(key, default=0.0)}}{Returns a floating point number.}
\end{twocollist}}
}
\membersection{wxConfigBase::RenameEntry}\label{wxconfigbaserenameentry}
\func{bool}{RenameEntry}{\param{const wxString\& }{ oldName}, \param{const wxString\& }{ newName}}
@@ -601,12 +658,6 @@ exists.
Sets the config object as the current one, returns the pointer to the previous
current object (both the parameter and returned value may be NULL)
\membersection{wxConfigBase::SetAppName}\label{wxconfigbasesetappname}
\func{void }{SetAppName}{\param{const wxString\&}{ appName}}
Sets the application name.
\membersection{wxConfigBase::SetExpandingEnvVars}\label{wxconfigbasesetexpandingenvvars}
\func{void}{SetExpandEnvVars }{\param{bool }{bDoIt = TRUE}}
@@ -631,12 +682,6 @@ If on (default is off) all default values are written back to the config file.
This allows the user to see what config options may be changed and is probably
useful only for wxFileConfig.
\membersection{wxConfigBase::SetVendorName}\label{wxconfigbasesetvendorname}
\func{void}{SetVendorName}{\param{const wxString\&}{ vendorName}}
Sets the vendor name.
\membersection{wxConfigBase::Write}\label{wxconfigbasewrite}
\func{bool}{Write}{\param{const wxString\& }{ key}, \param{const wxString\& }{
@@ -651,4 +696,16 @@ value}}
These functions write the specified value to the config file and return TRUE
on success.
\pythonnote{In place of a single overloaded method name, wxPython
implements the following methods:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{\bf{Write(key, value)}}{Writes a string.}
\twocolitem{\bf{WriteInt(key, value)}}{Writes an int.}
\twocolitem{\bf{WriteFloat(key, value)}}{Writes a floating point number.}
\end{twocollist}}
}

View File

@@ -11,6 +11,10 @@ of data.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/control.h>
\wxheading{See also}
\helpref{wxValidator}{wxvalidator}

View File

@@ -18,6 +18,10 @@ possible instead of directly using wxCriticalSection for the same reasons
None.
\wxheading{Include files}
<wx/thread.h>
\wxheading{See also}
\helpref{wxThread}{wxthread}, \helpref{wxCondition}{wxcondition},

View File

@@ -10,6 +10,10 @@ and difficult to debug problems).
None.
\wxheading{Include files}
<wx/thread.h>
\wxheading{See also}
\helpref{wxCriticalSection}{wxcriticalsection},

View File

@@ -20,6 +20,22 @@ global \helpref{::wxSetCursor}{wxsetcursor} is also available for MS Windows use
\helpref{wxGDIObject}{wxgdiobject}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/cursor.h>
\wxheading{Predefined objects}
Objects:
{\bf wxNullCursor}
Pointers:
{\bf wxSTANDARD\_CURSOR\\
wxHOURGLASS\_CURSOR\\
wxCROSS\_CURSOR}
\wxheading{See also}
\helpref{wxBitmap}{wxbitmap}, \helpref{wxIcon}{wxicon}, \helpref{wxWindow::SetCursor}{wxwindowsetcursor},\rtfsp
@@ -84,10 +100,10 @@ Under Windows, the permitted types are:
\twocolwidtha{6cm}
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxBITMAP\_TYPE\_CUR}}{Load a cursor from a .cur cursor file (only if USE\_RESOURCE\_LOADING\_IN\_MSW
is enabled in wx\_setup.h).}
is enabled in setup.h).}
\twocolitem{\windowstyle{wxBITMAP\_TYPE\_CUR\_RESOURCE}}{Load a Windows resource (as specified in the .rc file).}
\twocolitem{\windowstyle{wxBITMAP\_TYPE\_ICO}}{Load a cursor from a .ico icon file (only if USE\_RESOURCE\_LOADING\_IN\_MSW
is enabled in wx\_setup.h). Specify {\it hotSpotX} and {\it hotSpotY}.}
is enabled in setup.h). Specify {\it hotSpotX} and {\it hotSpotY}.}
\end{twocollist}}
\docparam{cursorId}{A stock cursor identifier. May be one of:
@@ -124,6 +140,14 @@ Note that not all cursors are available on all platforms.}
\docparam{cursor}{Pointer or reference to a cursor to copy.}
\pythonnote{Constructors supported by wxPython are:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{\bf{wxCursor(name, flags, hotSpotX=0,
hotSpotY=0)}}{Constructs a cursor from a filename}
\twocolitem{\bf{wxStockCursor(id)}}{Constructs a stock cursor }
\end{twocollist}}
}
\membersection{wxCursor::\destruct{wxCursor}}
\func{}{\destruct{wxCursor}}{\void}

View File

@@ -1,11 +1,16 @@
\section{\class{wxDatabase}}\label{wxdatabase}
Every database object represents an ODBC connection. The connection may be closed and reopened.
Every database object represents an ODBC connection.
The connection may be closed and reopened.
\wxheading{Derivation}
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/odbc.h>
\wxheading{See also}
\overview{wxDatabase overview}{wxdatabaseoverview}, \helpref{wxRecordSet}{wxrecordset}

View File

@@ -43,6 +43,10 @@ available data and the WriteData() methods in both classes.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{wxFileDataObject}{wxfiledataobject},

View File

@@ -2,10 +2,18 @@
A class for manipulating dates.
{\bf NOTE:} this class should be
used with caution, since it is not fully tested. It will be replaced
with a new wxDateTime class in the near future.
\wxheading{Derived from}
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/date.h>
\wxheading{See also}
\helpref{wxTime}{wxtime}

View File

@@ -1,114 +1,136 @@
\section{\class{wxDataStream}}\label{wxdatastream}
\section{\class{wxDataInputStream}}\label{wxdatainputstream}
This class provides functions that read and write integers or double in a
This class provides functions that read data types in a
portable way. So, a file written by an Intel processor can be read by a
Sparc or anything else.
\wxheading{Derived from}
\helpref{wxFilterInputStream}{wxfilterinputstream}\\
\helpref{wxInputStream}{wxinputstream}\\
\helpref{wxStreamBase}{wxstreambase}
\wxheading{Include files}
<wx/datstrm.h>
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDataStream::wxDataStream}\label{wxdatastreamconstr}
\membersection{wxDataInputStream::wxDataInputStream}\label{wxdatainputstreamconstr}
\func{}{wxDataStream}{\param{istream\&}{ stream}}
\func{}{wxDataInputStream}{\param{wxInputStream\&}{ stream}}
Constructs a datastream object from a C++ input stream. Only read methods will
Constructs a datastream object from an input stream. Only read methods will
be available.
\wxheading{Parameters}
\docparam{stream}{The C++ input stream.}
\docparam{stream}{The input stream.}
\func{}{wxDataStream}{\param{istream\&}{ stream}}
\membersection{wxDataInputStream::\destruct{wxDataInputStream}}
Constructs a datastream object from a C++ input stream. Only read methods will
be available.
\func{}{\destruct{wxDataInputStream}}{\void}
\wxheading{Parameters}
Destroys the wxDataInputStream object.
\docparam{stream}{The C++ input stream.}
\membersection{wxDataStream::\destruct{wxDataStream}}
\func{}{\destruct{wxDataStream}}{\void}
Destroys the wxDataStream object.
\membersection{wxDataStream::Read8}
\membersection{wxDataInputStream::Read8}
\func{unsigned char}{Read8}{\void}
Reads a single byte from the stream.
\membersection{wxDataStream::Read16}
\membersection{wxDataInputStream::Read16}
\func{unsigned short}{Read16}{\void}
Reads a 16 bit integer from the stream.
\membersection{wxDataStream::Read32}
\membersection{wxDataInputStream::Read32}
\func{unsigned long}{Read32}{\void}
Reads a 32 bit integer from the stream.
\membersection{wxDataStream::ReadDouble}
\membersection{wxDataInputStream::ReadDouble}
\func{double}{ReadDouble}{\void}
Reads a double (IEEE encoded) from the stream.
\membersection{wxDataStream::ReadString}
\membersection{wxDataInputStream::ReadLine}
\func{wxString}{wxDataStream::ReadString}{\void}
Reads a string from a stream. Actually, this function first reads a byte
specifying the length of the string (without the last null character) and then
reads the string.
\membersection{wxDataStream::ReadLine}
\func{wxString}{wxDataStream::ReadLine}{\void}
\func{wxString}{wxDataInputStream::ReadLine}{\void}
Reads a line from the stream. A line is a string which ends with \\n or \\r\\n.
\membersection{wxDataStream::Write8}
\membersection{wxDataInputStream::ReadString}
\func{void}{wxDataStream::Write8}{{\param unsigned char }{i8}}
\func{wxString}{wxDataInputStream::ReadString}{\void}
Reads a string from a stream. Actually, this function first reads a long integer
specifying the length of the string (without the last null character) and then
reads the string.
\section{\class{wxDataOutputStream}}\label{wxdataoutputstream}
This class provides functions that write data types in a
portable way. So, a file written by an Intel processor can be read by a
Sparc or anything else.
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDataOutputStream::wxDataOutputStream}\label{wxdataoutputstreamconstr}
\func{}{wxDataInputStream}{\param{wxOutputStream\&}{ stream}}
Constructs a datastream object from an output stream. Only read methods will
be available.
\wxheading{Parameters}
\docparam{stream}{The output stream.}
\membersection{wxDataOutputStream::\destruct{wxDataOutputStream}}
\func{}{\destruct{wxDataOutputStream}}{\void}
Destroys the wxDataOutputStream object.
\membersection{wxDataOutputStream::Write8}
\func{void}{wxDataOutputStream::Write8}{{\param unsigned char }{i8}}
Writes the single byte {\it i8} to the stream.
\membersection{wxDataStream::Write16}
\membersection{wxDataOutputStream::Write16}
\func{void}{wxDataStream::Write16}{{\param unsigned short }{i16}}
\func{void}{wxDataOutputStream::Write16}{{\param unsigned short }{i16}}
Writes the 16 bit integer {\it i16} to the stream.
\membersection{wxDataStream::Write32}
\membersection{wxDataOutputStream::Write32}
\func{void}{wxDataStream::Write32}{{\param unsigned long }{i32}}
\func{void}{wxDataOutputStream::Write32}{{\param unsigned long }{i32}}
Writes the 32 bit integer {\it i32} to the stream.
\membersection{wxDataStream::WriteDouble}
\membersection{wxDataOutputStream::WriteDouble}
\func{void}{wxDataStream::WriteDouble}{{\param double }{f}}
\func{void}{wxDataOutputStream::WriteDouble}{{\param double }{f}}
Writes the double {\it f} to the stream using the IEEE format.
\membersection{wxDataStream::WriteString}
\membersection{wxDataOutputStream::WriteLine}
\func{void}{wxDataStream::WriteString}{{\param const wxString\& }{string}}
\func{void}{wxDataOutputStream::WriteLine}{{\param const wxString\& }{string}}
Writes {\it string} as a line. Depending on the operating system, it adds
$\backslash$n or $\backslash$r$\backslash$n.
\membersection{wxDataOutputStream::WriteString}
\func{void}{wxDataOutputStream::WriteString}{{\param const wxString\& }{string}}
Writes {\it string} to the stream. Actually, this method writes the size of
the string before writing {\it string} itself.
\membersection{wxDataStream::WriteLine}
\func{void}{wxDataStream::WriteLine}{{\param const wxString\& }{string}}
Writes {\it string} as a line. Depending on the operating system, it adds
\\n or \\r\\n.
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "referenc"
%%% End:

View File

@@ -13,6 +13,10 @@ only, so refer to this section for most device context information.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dc.h>
\wxheading{See also}
\helpref{Overview}{dcoverview}
@@ -183,14 +187,14 @@ filling the shape.
\func{void}{DrawEllipticArc}{\param{long}{ x}, \param{long}{ y}, \param{long}{ width}, \param{long}{ height},
\param{double}{ start}, \param{double}{ end}}
Draws an arc of an ellipse. The current pen is used for drawing the arc and
Draws an arc of an ellipse. The current pen is used for drawing the arc and
the current brush is used for drawing the pie. This function is currently only available for
X window and PostScript device contexts.
{\it x} and {\it y} specify the x and y coordinates of the upper-left corner of the rectangle that contains
the ellipse.
{\it width} and {\it height} specify the width and height of the rectangle that contains
{\it width} and {\it height} specify the width and height of the rectangle that contains
the ellipse.
{\it start} and {\it end} specify the start and end of the arc relative to the three-o'clock
@@ -224,6 +228,9 @@ pointers to points, adding the optional offset coordinate. The current
pen is used for drawing the lines. The programmer is responsible for
deleting the list of points.
\pythonnote{The wxPython version of this method accepts a Python list
of wxPoint objects.}
\membersection{wxDC::DrawPolygon}\label{wxdcdrawpolygon}
\func{void}{DrawPolygon}{\param{int}{ n}, \param{wxPoint}{ points[]}, \param{long}{ xoffset = 0}, \param{long}{ yoffset = 0},\\
@@ -244,6 +251,9 @@ The programmer is responsible for deleting the list of points.
Note that wxWindows automatically closes the first and last points.
\pythonnote{The wxPython version of this method accepts a Python list
of wxPoint objects.}
\membersection{wxDC::DrawPoint}\label{wxdcdrawpoint}
\func{void}{DrawPoint}{\param{long}{ x}, \param{long}{ y}}
@@ -288,6 +298,9 @@ program `XFIG'.
Draws a three-point spline using the current pen.
\pythonnote{The wxPython version of this method accepts a Python list
of wxPoint objects.}
\membersection{wxDC::DrawText}\label{wxdcdrawtext}
\func{void}{DrawText}{\param{const wxString\& }{text}, \param{long}{ x}, \param{long}{ y}}
@@ -364,6 +377,9 @@ Gets the average character width of the currently set font.
Gets the rectangle surrounding the current clipping region.
\pythonnote{No arguments are required and the four values defining the
rectangle are returned as a tuple.}
\membersection{wxDC::GetFont}\label{wxdcgetfont}
\func{wxFont\&}{GetFont}{\void}
@@ -424,6 +440,9 @@ printer page:
dc.SetUserScale(min(scaleX,scaleY),min(scaleX,scaleY));
\end{verbatim}
\pythonnote{No arguments are required and the two values defining the
size are returned as a tuple.}
\membersection{wxDC::GetTextBackground}\label{wxdcgettextbackground}
\func{wxColour\&}{GetTextBackground}{\void}
@@ -449,6 +468,14 @@ the device context first.
See also \helpref{wxFont}{wxfont}, \helpref{wxDC::SetFont}{wxdcsetfont}.
\pythonnote{The following methods are implemented in wxPython:\par
\indented{2cm}{\begin{twocollist}
\twocolitem{\bf{GetTextExtent(string)}}{Returns a 2-tuple, (width, height)}
\twocolitem{\bf{GetFullTextExtent(string, font=NULL)}}{Returns a
4-tuple, (width, height, descent, externalLeading) }
\end{twocollist}}
}
\membersection{wxDC::GetTextForeground}\label{wxdcgettextforeground}
\func{wxColour\&}{GetTextForeground}{\void}
@@ -619,7 +646,7 @@ wxXOR src XOR dst
The default is wxCOPY, which simply draws with the current colour.
The others combine the current colour and the background using a
logical operation. wxXOR is commonly used for drawing rubber bands or
logical operation. wxINVERT is commonly used for drawing rubber bands or
moving outlines, since drawing twice reverts to the original colour.
\membersection{wxDC::SetMapMode}\label{wxdcsetmapmode}
@@ -644,12 +671,12 @@ PostScript output.
The mapping mode can be one of the following:
\begin{twocollist}\itemsep=0pt
\twocolitem{MM\_TWIPS}{Each logical unit is 1/20 of a point, or 1/1440 of
\twocolitem{wxMM\_TWIPS}{Each logical unit is 1/20 of a point, or 1/1440 of
an inch.}
\twocolitem{MM\_POINTS}{Each logical unit is a point, or 1/72 of an inch.}
\twocolitem{MM\_METRIC}{Each logical unit is 1 mm.}
\twocolitem{MM\_LOMETRIC}{Each logical unit is 1/10 of a mm.}
\twocolitem{MM\_TEXT}{Each logical unit is 1 pixel.}
\twocolitem{wxMM\_POINTS}{Each logical unit is a point, or 1/72 of an inch.}
\twocolitem{wxMM\_METRIC}{Each logical unit is 1 mm.}
\twocolitem{wxMM\_LOMETRIC}{Each logical unit is 1/10 of a mm.}
\twocolitem{wxMM\_TEXT}{Each logical unit is 1 pixel.}
\end{twocollist}
\membersection{wxDC::SetOptimization}\label{wxsetoptimization}

View File

@@ -19,6 +19,10 @@ of this API is available using \helpref{wxTCPClient}{wxtcpclient}.
wxClientBase\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dde.h>
\wxheading{See also}
\helpref{wxDDEServer}{wxddeserver}, \helpref{wxDDEConnection}{wxddeconnection},

View File

@@ -21,6 +21,10 @@ of this API is available using \helpref{wxTCPConnection}{wxtcpconnection}.
wxConnectionBase\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dde.h>
\wxheading{Types}
\index{wxIPCFormat}wxIPCFormat is defined as follows:

View File

@@ -11,6 +11,10 @@ of this API is available using \helpref{wxTCPServer}{wxtcpserver}.
wxServerBase
\wxheading{Include files}
<wx/dde.h>
\wxheading{See also}
\helpref{wxDDEClient}{wxddeclient}, \helpref{wxDDEConnection}{wxddeconnection}, \helpref{IPC overview}{ipcoverview}

View File

@@ -5,12 +5,16 @@ operations. Full functionality (such as printing out objects
currently allocated) is only present in a debugging build of wxWindows,
i.e. if the DEBUG symbol is defined and non-zero. wxDebugContext
and related functions and macros can be compiled out by setting
USE\_DEBUG\_CONTEXT to 0 is wx\_setup.h
wxUSE\_DEBUG\_CONTEXT to 0 is setup.h
\wxheading{Derived from}
No parent class.
\wxheading{Include files}
<wx/memory.h>
\wxheading{See also}
\overview{Overview}{wxdebugcontextoverview}
@@ -251,6 +255,10 @@ This is soon to be obsolete, replaced by \helpref{wxLog}{wxlog} functionality.
streambuf
\wxheading{Include files}
<wx/memory.h>
\wxheading{Example}
\begin{verbatim}

View File

@@ -10,6 +10,10 @@ the screen. It can contain controls and other windows.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dialog.h>
\wxheading{Remarks}
There are two kinds of dialog - {\it modal} and {\it modeless}. A modal dialog
@@ -29,7 +33,7 @@ dialog to respond to system close events.
\begin{twocollist}\itemsep=0pt
\twocolitem{\windowstyle{wxCAPTION}}{Puts a caption on the dialog box (Motif only).}
\twocolitem{\windowstyle{wxDEFAULT\_DIALOG\_STYLE}}{Equivalent to a combination of wxCAPTION, wxSYSTEM\_MENU and wxTHICK\_FRAME}
\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Display a resizeable frame around the window (Motif only).}
\twocolitem{\windowstyle{wxRESIZE\_BORDER}}{Display a resizeable frame around the window (Unix only).}
\twocolitem{\windowstyle{wxSYSTEM\_MENU}}{Display a system menu.}
\twocolitem{\windowstyle{wxTHICK\_FRAME}}{Display a thick frame around the window.}
\twocolitem{\windowstyle{wxSTAY\_ON\_TOP}}{The dialog stays on top of all other windows (Windows only).}
@@ -37,7 +41,8 @@ dialog to respond to system close events.
should not have 3D borders unless specified in the control.}
\end{twocollist}
Under Motif, MWM (the Motif Window Manager) should be running for any of these styles to have an effect.
Under Unix or Linux, MWM (the Motif Window Manager) or other window managers reckognizing
the MHM hints should be running for any of these styles to have an effect.
See also \helpref{Generic window styles}{windowstyles}.
@@ -129,8 +134,24 @@ invocation.
\wxheading{See also}
\helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp
\helpref{wxWindow::GetReturnCode}{wxwindowgetreturncode},\rtfsp
\helpref{wxWindow::SetReturnCode}{wxwindowsetreturncode}
\helpref{wxDialog::GetReturnCode}{wxdialoggetreturncode},\rtfsp
\helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}
\membersection{wxDialog::GetReturnCode}\label{wxdialoggetreturncode}
\func{int}{GetReturnCode}{\void}
Gets the return code for this window.
\wxheading{Remarks}
A return code is normally associated with a modal dialog, where \helpref{wxDialog::ShowModal}{wxdialogshowmodal} returns
a code to the application.
\wxheading{See also}
\helpref{wxDialog::SetReturnCode}{wxdialogsetreturncode}, \helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp
\helpref{wxDialog::EndModal}{wxdialogendmodal}
\membersection{wxDialog::GetTitle}\label{wxdialoggettitle}
@@ -142,7 +163,7 @@ Returns the title of the dialog box.
\func{void}{Iconize}{\param{const bool}{ iconize}}
Iconizes or restores the dialog.
Iconizes or restores the dialog. Windows only.
\wxheading{Parameters}
@@ -160,7 +181,7 @@ calling {\tt Iconize(FALSE)} will bring the window to the front, as does
\constfunc{bool}{IsIconized}{\void}
Returns TRUE if the dialog box is iconized.
Returns TRUE if the dialog box is iconized. Windows only.
\wxheading{Remarks}
@@ -265,6 +286,26 @@ until the dialog is hidden) or modeless (control returns immediately).
\docparam{flag}{If TRUE, the dialog will be modal, otherwise it will be modeless.}
\membersection{wxDialog::SetReturnCode}\label{wxdialogsetreturncode}
\func{void}{SetReturnCode}{\param{int }{retCode}}
Sets the return code for this window.
\wxheading{Parameters}
\docparam{retCode}{The integer return code, usually a control identifier.}
\wxheading{Remarks}
A return code is normally associated with a modal dialog, where \helpref{wxDialog::ShowModal}{wxdialogshowmodal} returns
a code to the application. The function \helpref{wxDialog::EndModal}{wxdialogendmodal} calls {\bf SetReturnCode}.
\wxheading{See also}
\helpref{wxWindow::GetReturnCode}{wxwindowgetreturncode}, \helpref{wxDialog::ShowModal}{wxdialogshowmodal},\rtfsp
\helpref{wxDialog::EndModal}{wxdialogendmodal}
\membersection{wxDialog::SetTitle}\label{wxdialogsettitle}
\func{void}{SetTitle}{\param{const wxString\& }{ title}}

View File

@@ -9,6 +9,10 @@ This class represents the directory chooser dialog.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dirdlg.h>
\wxheading{See also}
\helpref{wxDirDialog overview}{wxdirdialogoverview}, \helpref{wxFileDialog}{wxfiledialog}

View File

@@ -16,6 +16,10 @@ See the example application in {\tt samples/docview}.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{Document/view overview}{docviewoverview}, \helpref{wxFrame}{wxframe}

View File

@@ -9,6 +9,10 @@ and \helpref{wxDocTemplate}{wxdoctemplate} classes.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxDocManager overview}{wxdocmanageroverview}, \helpref{wxDocument}{wxdocument},\rtfsp

View File

@@ -17,6 +17,10 @@ See the example application in {\tt samples/docview}.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docmdi.h>
\wxheading{See also}
\helpref{Document/view overview}{docviewoverview}, \helpref{wxMDIChildFrame}{wxmdichildframe}

View File

@@ -16,6 +16,10 @@ See the example application in {\tt samples/docview}.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docmdi.h>
\wxheading{See also}
\helpref{Document/view overview}{docviewoverview}, \helpref{wxMDIParentFrame}{wxmdiparentframe}

View File

@@ -15,6 +15,10 @@ See the example application in {\tt samples/docview}.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{Document/view overview}{docviewoverview}, \helpref{wxFrame}{wxframe}

View File

@@ -7,6 +7,10 @@ document class and a view class.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxDocTemplate overview}{wxdoctemplateoverview}, \helpref{wxDocument}{wxdocument}, \helpref{wxView}{wxview}

View File

@@ -10,6 +10,10 @@ and \helpref{wxDocManager}{wxdocmanager} classes.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxDocument overview}{wxdocumentoverview}, \helpref{wxView}{wxview},\rtfsp
@@ -137,16 +141,18 @@ dialog boxes. By default, uses the frame associated with the first view.
\constfunc{wxString}{GetFilename}{\void}
Gets the filename associated with this document, or NULL if none is
Gets the filename associated with this document, or "" if none is
associated.
\membersection{wxDocument::GetFirstView}
\membersection{wxDocument::GetFirstView}\label{wxdocumentgetfirstview}
\constfunc{wxView*}{GetFirstView}{\void}
\constfunc{wxView *}{GetFirstView}{\void}
A convenience function to get the first view for a document, because
in many cases a document will only have a single view.
See also: \helpref{GetViews}{wxdocumentgetviews}
\membersection{wxDocument::GetPrintableName}
\constfunc{virtual void}{GetPrintableName}{\param{wxString\& }{name}}
@@ -163,6 +169,14 @@ Gets the title for this document. The document title is used for an associated
frame (if any), and is usually constructed by the framework from
the filename.
\membersection{wxDocument::GetViews}\label{wxdocumentgetviews}
\constfunc{wxList \&}{GetViews}{\void}
Returns the list whose elements are the views on the document.
See also: \helpref{GetFirstView}{wxdocumentgetfirstview}
\membersection{wxDocument::IsModified}\label{wxdocumentismodified}
\constfunc{virtual bool}{IsModified}{\void}
@@ -237,7 +251,7 @@ document, and notifies the views that the filename (in fact, the title) has chan
\func{virtual bool}{OnOpenDocument}{\param{const wxString\& }{filename}}
Constructs an input file stream for the given filename (which must not be NULL),
Constructs an input file stream for the given filename (which must not be empty),
and calls LoadObject. If LoadObject returns TRUE, the document is set to
unmodified; otherwise, an error message box is displayed. The document's
views are notified that the filename has changed, to give windows an opportunity
@@ -247,7 +261,7 @@ to update their titles. All of the document's views are then updated.
\func{virtual bool}{OnSaveDocument}{\param{const wxString\& }{filename}}
Constructs an output file stream for the given filename (which must not be NULL),
Constructs an output file stream for the given filename (which must not be empty),
and calls SaveObject. If SaveObject returns TRUE, the document is set to
unmodified; otherwise, an error message box is displayed.

View File

@@ -12,6 +12,10 @@ older, Windows message-based approach of dropping files.
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process a drop files event, use these event handler macros to direct input to a member

View File

@@ -8,6 +8,10 @@ This class represents a source for a drag and drop operation.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dnd.h>
\wxheading{Types}
\index{wxDragResult}wxDragResult is defined as follows:

View File

@@ -8,6 +8,10 @@ This class represents a target for a drag and drop operation.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/dnd.h>
\wxheading{See also}
\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDropSource}{wxdropsource},

View File

@@ -7,6 +7,10 @@ An erase event is sent when a window's background needs to be repainted.
\helpref{wxEvent}{wxevent}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{Event table macros}
To process an erase event, use this event handler macro to direct input to a member

View File

@@ -8,6 +8,10 @@ event object, and is an abstract base class for other event classes (see below).
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{See also}
\helpref{wxCommandEvent}{wxcommandevent},\rtfsp

View File

@@ -8,6 +8,10 @@ this class.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/event.h>
\wxheading{See also}
\overview{Event handling overview}{eventhandlingoverview}
@@ -237,8 +241,7 @@ Sets user-supplied client data.
Normally, any extra data the programmer wishes
to associate with the object should be made available by deriving a new class
with new data members.
TODO: make this void*, char* only in compatibility mode.
%TODO: make this void*, char* only in compatibility mode.
\wxheading{See also}

View File

@@ -8,6 +8,10 @@ or list, and lists can be nested.
None
\wxheading{Include files}
<wx/wxexpr.h>
\wxheading{See also}
\helpref{wxExpr overview}{exproverview}, \helpref{wxExprDatabase}{wxexprdatabase}

View File

@@ -6,6 +6,10 @@ wxFileDataObject is a specialization of wxDataObject for file names.
\helpref{wxDataObject}{wxdataobject}
\wxheading{Include files}
<wx/dataobj.h>
\wxheading{See also}
\helpref{wxDataObject}{wxdataobject}

View File

@@ -6,6 +6,10 @@
\helpref{wxDropTarget}{wxdroptarget}
\wxheading{Include files}
<wx/dnd.h>
\wxheading{See also}
\helpref{Drag and drop overview}{wxdndoverview}, \helpref{wxDropSource}{wxdropsource},

View File

@@ -9,6 +9,10 @@ between platforms and compilers.
None.
\wxheading{Include files}
<wx/file.h>
\wxheading{Constants}
wx/file.h defines the following constants:
@@ -257,7 +261,7 @@ TRUE if the operation was successful.
\membersection{wxFile::Write}\label{wxfilewrites}
\func{bool}{Write}{\param{const wxString& }{s}}
\func{bool}{Write}{\param{const wxString\& }{s}}
Writes the contents of the string to the file, returns TRUE on success.

View File

@@ -9,12 +9,13 @@ This class represents the file chooser dialog.
\helpref{wxEvtHandler}{wxevthandler}\\
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/filedlg.h>
\wxheading{See also}
\helpref{wxFileDialog overview}{wxfiledialogoverview}, \helpref{wxFileSelector}{wxfileselector}
%\rtfsp\helpref{wxFileSelectorEx}{wxfileselectorex}
%\helpref{wxLoadFileSelector}{wxloadfileselector},\rtfsp
%\helpref{wxSaveFileSelector}{wxsavefileselector}
\wxheading{Remarks}
@@ -39,7 +40,7 @@ Under Windows (only), the wildcard may be a specification for multiple
types of file with a description for each, such as:
\begin{verbatim}
"BMP files (*.bmp) | *.bmp | GIF files (*.gif) | *.gif"
"BMP files (*.bmp)|*.bmp|GIF files (*.gif)|*.gif"
\end{verbatim}
\latexignore{\rtfignore{\wxheading{Members}}}

View File

@@ -11,6 +11,10 @@ as well as the MDI parent frame.
\helpref{wxObject}{wxobject}
\wxheading{Include files}
<wx/docview.h>
\wxheading{See also}
\helpref{wxFileHistory overview}{wxfilehistoryoverview}, \helpref{wxDocManager}{wxdocmanager}

View File

@@ -29,14 +29,14 @@ A MIME type may have one or more associated extensions: "text/plain" will
typically correspond to the extension ".txt", but may as well be associated with
".ini" or ".conf".
\wxheading{Required headers}
<wx/mimetype.h>
\wxheading{Derived from}
No base class.
\wxheading{Include files}
<wx/mimetype.h>
\wxheading{See also}
\helpref{wxMimeTypesManager}{wxmimetypesmanager}

Some files were not shown because too many files have changed in this diff Show More