~efargaspro/+junk/codeblocks-16.01-release

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxContribItems/wxthings/src/filedlgg.cpp

  • Committer: damienlmoore at gmail
  • Date: 2016-02-02 02:43:22 UTC
  • Revision ID: damienlmoore@gmail.com-20160202024322-yql5qmtbwdyamdwd
Code::BlocksĀ 16.01

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//////////////////////////////////////////////////////////////////////////////
 
2
// Name:        filedlgg.cpp
 
3
// Purpose:     wxGenericFileDialog stub to include the wxWidget's source file by the same name
 
4
// Author:      John Labenski
 
5
// Modified by:
 
6
// Created:     12/12/98
 
7
// RCS-ID:
 
8
// Copyright:   (c) John Labenski
 
9
// Licence:     wxWindows licence
 
10
/////////////////////////////////////////////////////////////////////////////
 
11
 
 
12
// wxWidgets does not compile wxWidgets/src/generic/filedlgg.cpp into the
 
13
// library in MSW. In Linux/OSX wxWidgets does use the generic filedialog.
 
14
// This file will include the source in wxWidgets/src/generic/filedlgg.cpp
 
15
// only on platforms that do not already have it compiled into the wxWidgets lib.
 
16
 
 
17
// NOTE: MSVC cannot use environment var $(WXWIN)/src/generic/filedlgg.cpp in
 
18
// their project files to allow you to compile the generic file dialog.
 
19
// You have to specify the relative or absolute path to the wxWidgets
 
20
// distribution which is annoying since everyone will probably have it in a
 
21
// different place. By #including the source from this file we can avoid this
 
22
// and use the $(WXWIN) environment var in the -I include path.
 
23
 
 
24
#include "precomp.h"
 
25
 
 
26
#include "wx/things/thingdef.h"
 
27
 
 
28
#include <wx/defs.h>
 
29
#include <wx/filedlg.h>          // Will include "wx/generic/filedlgg.h" on platforms that use it
 
30
#include <wx/volume.h>           // wxFSVolumeBase
 
31
#include "wx/generic/dirctrlg.h" // wxFileIconsTable
 
32
 
 
33
// We don't need to #include this file here
 
34
//#include "wx/generic/filedlgg.h"
 
35
// and if we didn't include the generic filedlgg.h then include the source here
 
36
 
 
37
#ifndef _WX_FILEDLGG_H_ // header guard of "wx/generic/filedlgg.h" 
 
38
 
 
39
    // Typically we have $(WXWIN)/include in the search path so this should
 
40
    // find the path to filedlgg correctly.
 
41
    #include "../src/generic/filedlgg.cpp"
 
42
 
 
43
// --------------------------------------------------------------------------
 
44
// DO NOT DELETE : Cmake will configure this file and replace the marker below.
 
45
// @CMAKE_CONFIGURE_WXTHINGS_FILEDLGG@
 
46
 
 
47
 
 
48
#endif //_WX_FILEDLGG_H_