Commit Graph

1057 Commits

Author SHA1 Message Date
Vadim Zeitlin
d66a042c1c 1. bug in wxSplitter corrected: mouse event coords may be negative when the
mouse is captured which made sash roll over the window
2. missing functions added to wxRadioBox
3. non existent functions removed from wxRadioBox and wxControl


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


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


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