]>
Commit | Line | Data |
---|---|---|
e602dae8 KO |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: libsample.cpp | |
3 | // Purpose: The source of a dummy sample wx-based library | |
4 | // Author: Francesco Montorsi | |
5 | // Modified by: | |
6 | // Created: 26/11/06 | |
e602dae8 KO |
7 | // Copyright: (c) Francesco Montorsi |
8 | // Licence: wxWindows licence | |
9 | ///////////////////////////////////////////////////////////////////////////// | |
10 | ||
11 | // ============================================================================ | |
12 | // declarations | |
13 | // ============================================================================ | |
14 | ||
15 | // ---------------------------------------------------------------------------- | |
16 | // headers | |
17 | // ---------------------------------------------------------------------------- | |
18 | ||
19 | // For compilers that support precompilation, includes "wx/wx.h". | |
20 | #include "wx/wxprec.h" | |
21 | ||
22 | #ifdef __BORLANDC__ | |
23 | #pragma hdrstop | |
24 | #endif | |
25 | ||
26 | // for all others, include the necessary headers (this file is usually all you | |
27 | // need because it includes almost all "standard" wxWindows headers) | |
28 | #ifndef WX_PRECOMP | |
29 | #include "wx/wx.h" | |
30 | #endif | |
31 | ||
32 | // ============================================================================ | |
33 | // implementation | |
34 | // ============================================================================ | |
35 | ||
36 | void MyUtilityFunction() | |
37 | { | |
38 | wxPrintf(wxT("Hello world!\n")); | |
39 | fflush(stdout); | |
40 | } |