| 1 | ///////////////////////////////////////////////////////////////////////////// |
| 2 | // Name: wx/minifram.h |
| 3 | // Purpose: wxMiniFrame base header |
| 4 | // Author: Julian Smart |
| 5 | // Modified by: |
| 6 | // Created: |
| 7 | // Copyright: (c) Julian Smart |
| 8 | // RCS-ID: $Id$ |
| 9 | // Licence: wxWindows Licence |
| 10 | ///////////////////////////////////////////////////////////////////////////// |
| 11 | |
| 12 | #ifndef _WX_MINIFRAM_H_BASE_ |
| 13 | #define _WX_MINIFRAM_H_BASE_ |
| 14 | |
| 15 | #include "wx/defs.h" |
| 16 | |
| 17 | #if wxUSE_MINIFRAME |
| 18 | |
| 19 | #if defined(__WXPALMOS__) |
| 20 | #include "wx/palmos/minifram.h" |
| 21 | #elif defined(__WXMSW__) |
| 22 | #include "wx/msw/minifram.h" |
| 23 | #elif defined(__WXMOTIF__) |
| 24 | #include "wx/motif/minifram.h" |
| 25 | #elif defined(__WXGTK20__) |
| 26 | #include "wx/gtk/minifram.h" |
| 27 | #elif defined(__WXGTK__) |
| 28 | #include "wx/gtk1/minifram.h" |
| 29 | #elif defined(__WXX11__) |
| 30 | #include "wx/x11/minifram.h" |
| 31 | #elif defined(__WXMAC__) |
| 32 | #include "wx/osx/minifram.h" |
| 33 | #elif defined(__WXPM__) |
| 34 | #include "wx/os2/minifram.h" |
| 35 | #else |
| 36 | // TODO: it seems that wxMiniFrame could be just defined here generically |
| 37 | // instead of having all the above port-specific headers |
| 38 | #include "wx/frame.h" |
| 39 | typedef wxFrame wxMiniFrame; |
| 40 | #endif |
| 41 | |
| 42 | #endif // wxUSE_MINIFRAME |
| 43 | #endif // _WX_MINIFRAM_H_BASE_ |