git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48451
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
+
+ wxPython bindings build fixes after recent changes.
+
+ * WebView.h:
+ * bindings/python/wscript:
+
2009-09-13 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
2009-09-13 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
extern WXDLLIMPEXP_WEBKIT const wxChar* wxWebViewNameStr;
#endif
extern WXDLLIMPEXP_WEBKIT const wxChar* wxWebViewNameStr;
#endif
+static const int defaultCacheCapacity = 8192 * 1024; // mirrors Cache.cpp
+
class WXDLLIMPEXP_WEBKIT wxWebViewCachePolicy
{
public:
class WXDLLIMPEXP_WEBKIT wxWebViewCachePolicy
{
public:
void SetMaxDeadCapacity(unsigned maxDeadCapacity) { m_maxDeadCapacity = maxDeadCapacity; }
protected:
void SetMaxDeadCapacity(unsigned maxDeadCapacity) { m_maxDeadCapacity = maxDeadCapacity; }
protected:
- static const int defaultCacheCapacity = 8192 * 1024; // mirrors Cache.cpp
unsigned m_capacity;
unsigned m_minDeadCapacity;
unsigned m_maxDeadCapacity;
unsigned m_capacity;
unsigned m_minDeadCapacity;
unsigned m_maxDeadCapacity;
Logs.warn("Cannot find location of wxPython .i files, wxPython extension will not be built.")
return
Logs.warn("Cannot find location of wxPython .i files, wxPython extension will not be built.")
return
+ for inc_path in include_paths:
+ wx_swig_args.append('-I' + inc_path)
+
obj = bld.new_task_gen(
features = 'cxx cshlib pyext',
includes = ' '.join(include_paths),
obj = bld.new_task_gen(
features = 'cxx cshlib pyext',
includes = ' '.join(include_paths),