Prevent Using wxCore Library
Fabian Cenedese
Cenedese at indel.ch
Tue Apr 1 03:05:37 PDT 2008
At 11:53 01.04.2008 +0200, Sébastien PELLE wrote:
>Hi,
>
>How to prevent using the wxCore Library ?
>
>Since we aim to write Console mode only application, we only want to use the
>wxBase, wxNet, and wxXML Library only.
>
>I actually have written an app which calls two functions which are part of
>the wxCore Library. How, in the future, be sure not to call functions which
>are not part of wxBase, wxNet, or wxXML ?
I would assume that if you don't link against those libs you will find out
at the latest at the link step if something is missing. But actually if you
don't include headers from those libs then even compiling should fail
(though that one's a bit difficult if you don't know what library a class
is implemented in, AFAIK the docs don't include this info).
bye Fabi
More information about the wx-users
mailing list