libsample.cpp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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. // Copyright: (c) Francesco Montorsi
  8. // Licence: wxWindows licence
  9. /////////////////////////////////////////////////////////////////////////////
  10. // ============================================================================
  11. // declarations
  12. // ============================================================================
  13. // ----------------------------------------------------------------------------
  14. // headers
  15. // ----------------------------------------------------------------------------
  16. // For compilers that support precompilation, includes "wx/wx.h".
  17. #include "wx/wxprec.h"
  18. #ifdef __BORLANDC__
  19. #pragma hdrstop
  20. #endif
  21. // for all others, include the necessary headers (this file is usually all you
  22. // need because it includes almost all "standard" wxWindows headers)
  23. #ifndef WX_PRECOMP
  24. #include "wx/wx.h"
  25. #endif
  26. // ============================================================================
  27. // implementation
  28. // ============================================================================
  29. void MyUtilityFunction()
  30. {
  31. wxPrintf(wxT("Hello world!\n"));
  32. fflush(stdout);
  33. }