]> git.saurik.com Git - wxWidgets.git/blob - build/bakefiles/wxpresets/libsample/libsample.cpp
Don't crash if no scrollbar
[wxWidgets.git] / build / bakefiles / wxpresets / libsample / libsample.cpp
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
7 // RCS-ID: $Id$
8 // Copyright: (c) Francesco Montorsi
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx/wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 // for all others, include the necessary headers (this file is usually all you
28 // need because it includes almost all "standard" wxWindows headers)
29 #ifndef WX_PRECOMP
30 #include "wx/wx.h"
31 #endif
32
33 // ============================================================================
34 // implementation
35 // ============================================================================
36
37 void MyUtilityFunction()
38 {
39 wxPrintf(wxT("Hello world!\n"));
40 fflush(stdout);
41 }