]> git.saurik.com Git - wxWidgets.git/blame - docs/microwin/readme.txt
removed useless PM_USE_SESSION_APIS define (it must be defined in MacHeaders
[wxWidgets.git] / docs / microwin / readme.txt
CommitLineData
0fd734af
JS
1wxMicroWindows port
2===================
3
4Julian Smart 2001-07-02
5
6This is a snapshot of my experimental port of wxWindows to
7MicroWindows. Widgets are supplied by the wxUniversal project,
8while the underlying port uses the Windows ports with small
9modifications for the MicroWindows API.
10
11There are many things missing from MicroWindows that will
12make the port quite limited for the time being. I haven't
13worked out how to create bitmaps, though there is a BMP to C
14converter. There are no menus, no common dialogs, and only
15one WIN32 app may be run at a time.
16
17Some things can no doubt be worked around, and/or MicroWindows
18itself tweaked. Lots of wxWin functionality is just switched off or
19commented out.
20
21Installation
22============
23
24First install MicroWindows - untar it, change config to
25use X11 and any other options you feel fit, apply
26microwindows.patches to fix PeekMessage, and compile
27(type 'make' from within the src directory).
28
29Untar the wxMicroWindows port, and change the TOP variable at the
30top of src/microwin/Makefile to reflect where MicroWindows is installed.
31Type 'make all' from src/microwin. To clean, use cleanwx and NOT clean
32since that will clean MicroWindows itself.
33
34To make the sample, cd into samples/minimal, edit the TOP variable,
35and type 'make all'.
36Running 'minimal' runs the virtual MicroWindows desktop
37and the minimal sample, since in a MicroWindows WIN32 application
38they are one and the same binary.
39
40Status
41======
42
43A frame comes up :-)
44
45Notes
46=====
47
48No ::GetKeyState (see microwin/private.h). Should probably use GdOpenKeyboard/GdCloseKeyboard/GdReadKeyboard. Could perhaps emulate GetKeyState this way.
49
50No ::CreateBitmap or BITMAPINFO. But BMPs can be converted
51to C using convbmp, then need to use Gr... functions.
52
53No ::DestroyIcon, ::DestroyCursor - use ::DestroyObject instead?
54Also no LoadCursor, LoadImage. So how do we make cursors? No ::SetCursor.
55
56wxDC: no ::GetTextColor, ::GetBkColor, ::IntersectClipRect,
57::GetClipBox
58
59No ::SetMenu, so no menus or menubars.
60
61No ::GetObject so we can't get LOGFONT from an HFONT
62in wxSystemSettings.
63
64No ::CreateDialog so how do we create dialogs? Simulate
65one with a frame I guess.