Make environment variable wxGrid/table read-only in the fp lib table dialog.

Fix throwing of IO_ERROR in plugin.cpp by converting function name to wxString.GetData().
Switch to const PROPERTIES* in GITHUB PLUGIN functions.
This commit is contained in:
Dick Hollenbeck
2013-09-30 16:26:49 -05:00
parent 25b20c5564
commit 8c87d71e74
5 changed files with 48 additions and 20 deletions
+3 -3
View File
@@ -47,10 +47,10 @@ public:
const wxString& GetFileExtension() const;
wxArrayString FootprintEnumerate( const wxString& aLibraryPath, PROPERTIES* aProperties );
wxArrayString FootprintEnumerate( const wxString& aLibraryPath, const PROPERTIES* aProperties );
MODULE* FootprintLoad( const wxString& aLibraryPath,
const wxString& aFootprintName, PROPERTIES* aProperties );
const wxString& aFootprintName, const PROPERTIES* aProperties );
bool IsFootprintLibWritable( const wxString& aLibraryPath );
@@ -82,7 +82,7 @@ private:
wxString m_lib_path; ///< from aLibraryPath, something like https://github.com/liftoff-sr/pretty_footprints
std::string m_zip_image; ///< byte image of the zip file in its entirety.
GH_CACHE* m_cache;
GH_CACHE* m_cache;
};
#endif // GITHUB_PLUGIN_H_