]>
Commit | Line | Data |
---|---|---|
9c7f49f5 VZ |
1 | /////////////////////////////////////////////////////////////////////////////// |
2 | // Name: msw/renderer.cpp | |
38c4cb6a | 3 | // Purpose: implementation of wxRendererNative for Windows |
9c7f49f5 VZ |
4 | // Author: Vadim Zeitlin |
5 | // Modified by: | |
6 | // Created: 20.07.2003 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org> | |
9 | // License: wxWindows license | |
10 | /////////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | // ============================================================================ | |
13 | // declarations | |
14 | // ============================================================================ | |
15 | ||
16 | // ---------------------------------------------------------------------------- | |
17 | // headers | |
18 | // ---------------------------------------------------------------------------- | |
19 | ||
20 | // for compilers that support precompilation, includes "wx.h". | |
21 | #include "wx/wxprec.h" | |
22 | ||
23 | #ifdef __BORLANDC__ | |
24 | #pragma hdrstop | |
25 | #endif | |
26 | ||
27 | #ifndef WX_PRECOMP | |
28 | #include "wx/string.h" | |
29 | #endif //WX_PRECOMP | |
30 | ||
31 | #include "wx/renderer.h" | |
32 | ||
33 | // ---------------------------------------------------------------------------- | |
38c4cb6a | 34 | // wxRendererMSW: our wxRendererNative implementation |
9c7f49f5 VZ |
35 | // ---------------------------------------------------------------------------- |
36 | ||
38c4cb6a | 37 | class WXDLLEXPORT wxRendererMSW : public wxDelegateRendererNative |
9c7f49f5 | 38 | { |
2eb10e2a VZ |
39 | public: |
40 | wxRendererMSW() { } | |
41 | ||
42 | private: | |
43 | DECLARE_NO_COPY_CLASS(wxRendererMSW) | |
9c7f49f5 VZ |
44 | }; |
45 | ||
46 | // ============================================================================ | |
47 | // implementation | |
48 | // ============================================================================ | |
49 | ||
50 | /* static */ | |
f0244295 | 51 | wxRendererNative& wxRendererNative::GetDefault() |
9c7f49f5 VZ |
52 | { |
53 | static wxRendererMSW s_rendererMSW; | |
54 | ||
55 | return s_rendererMSW; | |
56 | } | |
57 |